Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
chip1stop_cate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
761832ca
authored
Apr 03, 2019
by
lichenggang
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
'update redis num'
parent
b63a737d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
goods.py
goods.py
View file @
761832ca
...
@@ -144,7 +144,7 @@ def get_url():
...
@@ -144,7 +144,7 @@ def get_url():
pool
=
redis
.
ConnectionPool
(
**
get_redis_conf
())
pool
=
redis
.
ConnectionPool
(
**
get_redis_conf
())
r
=
redis
.
Redis
(
connection_pool
=
pool
)
r
=
redis
.
Redis
(
connection_pool
=
pool
)
for
_
in
range
(
2
6
0
):
for
_
in
range
(
2
1
0
):
cate_url
=
r
.
lpop
(
'csc_elec_chip1stop_1'
)
cate_url
=
r
.
lpop
(
'csc_elec_chip1stop_1'
)
if
cate_url
:
if
cate_url
:
...
...
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