-
- Downloads
Handle LFS token creation and retrieval in the same method, and in the same Redis connection.
Reset expiry time of token, if token is retrieved again before it expires.
Showing
- lib/api/internal.rb 1 addition, 1 deletionlib/api/internal.rb
- lib/gitlab/auth.rb 1 addition, 1 deletionlib/gitlab/auth.rb
- lib/gitlab/lfs_token.rb 9 additions, 12 deletionslib/gitlab/lfs_token.rb
- spec/lib/gitlab/auth_spec.rb 2 additions, 2 deletionsspec/lib/gitlab/auth_spec.rb
- spec/lib/gitlab/lfs_token_spec.rb 4 additions, 4 deletionsspec/lib/gitlab/lfs_token_spec.rb
- spec/requests/api/internal_spec.rb 2 additions, 2 deletionsspec/requests/api/internal_spec.rb
- spec/requests/lfs_http_spec.rb 2 additions, 2 deletionsspec/requests/lfs_http_spec.rb
Please register or sign in to comment