Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-shell
Commits
1bfa3fda
Commit
1bfa3fda
authored
Jul 16, 2015
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase batch_add_keys lock timeout to 300 seconds
parent
4d30c0c5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGELOG
CHANGELOG
+2
-0
lib/gitlab_keys.rb
lib/gitlab_keys.rb
+1
-1
No files found.
CHANGELOG
View file @
1bfa3fda
v2.6.4
- Increase batch_add_keys lock timeout to 300 seconds
v2.6.3
- Prevent keys with a very specific comment from accidentally being deleted.
...
...
lib/gitlab_keys.rb
View file @
1bfa3fda
...
...
@@ -53,7 +53,7 @@ class GitlabKeys
end
def
batch_add_keys
lock
do
lock
(
300
)
do
# Allow 300 seconds (5 minutes) for batch_add_keys
open
(
auth_file
,
'a'
)
do
|
file
|
stdin
.
each_line
do
|
input
|
tokens
=
input
.
strip
.
split
(
"
\t
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment