Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
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
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0660e939
Commit
0660e939
authored
Jul 24, 2020
by
Michael Kozono
Committed by
Mike Jang
Jul 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a non-default timeout as an example
parent
540e5aa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doc/administration/geo/replication/troubleshooting.md
doc/administration/geo/replication/troubleshooting.md
+3
-3
No files found.
doc/administration/geo/replication/troubleshooting.md
View file @
0660e939
...
@@ -390,13 +390,13 @@ to respect the CIDR format (i.e. `1.2.3.4/32`).
...
@@ -390,13 +390,13 @@ to respect the CIDR format (i.e. `1.2.3.4/32`).
GitLab places a timeout on all repository clones, including project imports
GitLab places a timeout on all repository clones, including project imports
and Geo synchronization operations. If a fresh
`git clone`
of a repository
and Geo synchronization operations. If a fresh
`git clone`
of a repository
on the
**primary**
takes more than
a few minute
s, you may be affected by this.
on the
**primary**
takes more than
the default three hour
s, you may be affected by this.
To increase the timeout, add the following line to
`/etc/gitlab/gitlab.rb`
To increase the timeout, add the following line to
`/etc/gitlab/gitlab.rb`
on the
**secondary**
node:
on the
**secondary**
node:
```
ruby
```
ruby
gitlab_rails
[
'gitlab_shell_git_timeout'
]
=
1
08
00
gitlab_rails
[
'gitlab_shell_git_timeout'
]
=
1
44
00
```
```
Then reconfigure GitLab:
Then reconfigure GitLab:
...
@@ -405,7 +405,7 @@ Then reconfigure GitLab:
...
@@ -405,7 +405,7 @@ Then reconfigure GitLab:
sudo
gitlab-ctl reconfigure
sudo
gitlab-ctl reconfigure
```
```
This will increase the timeout to
three hours (108
00 seconds). Choose a time
This will increase the timeout to
four hours (144
00 seconds). Choose a time
long enough to accommodate a full clone of your largest repositories.
long enough to accommodate a full clone of your largest repositories.
### New LFS objects are never replicated
### New LFS objects are never replicated
...
...
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