Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
serviceRec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郭羽
serviceRec
Commits
14e318e6
Commit
14e318e6
authored
Dec 03, 2021
by
宋柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
redis清理
parent
8a587e68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
get_redis_keys_hash.py
test/get_redis_keys_hash.py
+1
-1
No files found.
test/get_redis_keys_hash.py
View file @
14e318e6
...
@@ -294,7 +294,7 @@ for search_key in search_keys:
...
@@ -294,7 +294,7 @@ for search_key in search_keys:
node_del_batch_size
=
10000
node_del_batch_size
=
10000
node_has_del_key_count
=
0
node_has_del_key_count
=
0
for
batch_start_idx
in
range
(
len
(
node_del_key_list
)
,
node_del_batch_size
):
for
batch_start_idx
in
range
(
0
,
node_del_key_count
,
node_del_batch_size
):
node_del_key_batch_list
=
node_del_key_list
[
batch_start_idx
:
batch_start_idx
+
node_del_batch_size
]
node_del_key_batch_list
=
node_del_key_list
[
batch_start_idx
:
batch_start_idx
+
node_del_batch_size
]
# pipline = conn.pipeline()
# pipline = conn.pipeline()
for
node_del_key
in
node_del_key_batch_list
:
for
node_del_key
in
node_del_key_batch_list
:
...
...
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