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
7f711f87
Commit
7f711f87
authored
Aug 18, 2020
by
Robert May
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Swap process book-keeping to UNLINK
Swaps Redis DEL calls to UNLINK for performance.
parent
dbc0b89d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/app/services/elastic/process_bookkeeping_service.rb
ee/app/services/elastic/process_bookkeeping_service.rb
+1
-1
No files found.
ee/app/services/elastic/process_bookkeeping_service.rb
View file @
7f711f87
...
@@ -40,7 +40,7 @@ module Elastic
...
@@ -40,7 +40,7 @@ module Elastic
def
clear_tracking!
def
clear_tracking!
with_redis
do
|
redis
|
with_redis
do
|
redis
|
Gitlab
::
Instrumentation
::
RedisClusterValidator
.
allow_cross_slot_commands
do
Gitlab
::
Instrumentation
::
RedisClusterValidator
.
allow_cross_slot_commands
do
redis
.
del
(
self
::
REDIS_SET_KEY
,
self
::
REDIS_SCORE_KEY
)
redis
.
unlink
(
self
::
REDIS_SET_KEY
,
self
::
REDIS_SCORE_KEY
)
end
end
end
end
end
end
...
...
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