gitlab-org--gitlab-foss/app
Bob Van Landuyt ab11eee1d6 Mark mirrors as failed 1 hour after they started
We call `Project#mark_stuck_remote_mirrors_as_failed!` from the
`Git::BaseHooksService`. So that gets called every time we push tags
or branches.

Before this would only mark started mirrors as failed if they had
been started 24 hours ago. A push would never take 24 hours,
especially not when we run it so often.

Lowering that threshold 1 hour should at least allow us to retry
broken mirrors more often on pushes.

The timeout for the initial push is set somewhat longer to accommodate
for pushing large repos. Both numbers are currently picked arbitrarily.
2019-07-23 16:04:49 +02:00
..
assets Merge branch '6544-remove-scss-diff-ce' into 'master' 2019-07-23 08:18:02 +00:00
controllers Merge branch 'ce-port-315-log-impersonation-actions-in-audit-log' into 'master' 2019-07-23 13:02:58 +00:00
finders Removed project autocomplete pagination 2019-07-22 11:44:20 +00:00
graphql Added submodule links to Submodule type in GraphQL API 2019-07-17 13:06:19 +00:00
helpers Ensure SubmoduleHelper works outside view context 2019-07-22 14:31:40 +02:00
mailers
models Mark mirrors as failed 1 hour after they started 2019-07-23 16:04:49 +02:00
policies Add policy to allow maintainers to create subgroups when enabled 2019-07-19 11:55:46 -07:00
presenters
serializers Merge branch 'adjust-cycle-analytics-to-group-level' into 'master' 2019-07-18 09:23:54 +00:00
services Merge branch 'rm-src-branch' into 'master' 2019-07-23 09:41:23 +00:00
uploaders
validators
views Fix translation of 'Updated' term in projects list 2019-07-22 11:21:56 -04:00
workers Merge branch 'an-sidekiq-chaos' into 'master' 2019-07-18 20:43:49 +00:00