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
67e71eac
Commit
67e71eac
authored
Mar 05, 2020
by
Mike Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code
parent
0e35db54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
ee/app/workers/geo/prune_event_log_worker.rb
ee/app/workers/geo/prune_event_log_worker.rb
+0
-3
No files found.
ee/app/workers/geo/prune_event_log_worker.rb
View file @
67e71eac
...
...
@@ -7,13 +7,10 @@ module Geo
# This worker does not perform work scoped to a context
include
CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
include
::
Gitlab
::
Utils
::
StrongMemoize
include
::
Gitlab
::
Geo
::
LogHelpers
feature_category
:geo_replication
LEASE_TIMEOUT
=
5
.
minutes
def
perform
return
if
Gitlab
::
Database
.
read_only?
return
unless
Gitlab
::
Database
.
healthy?
...
...
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