Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
crawler
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
backend
crawler
Commits
21d8b249
Commit
21d8b249
authored
Sep 21, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d180d7af
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
update_data_in_target_releasers_multi_process_by_date_from_redis.py
...a_in_target_releasers_multi_process_by_date_from_redis.py
+4
-0
No files found.
crawler_sys/framework/update_data_in_target_releasers_multi_process_by_date_from_redis.py
View file @
21d8b249
...
...
@@ -162,6 +162,7 @@ def get_task_from_redis():
rds_1
.
incr
(
platform_str
)
yield
platform
rds_1
.
decr
(
platform_str
)
except
Exception
as
e
:
print
(
e
)
...
...
@@ -275,6 +276,9 @@ if __name__ == "__main__":
futures
.
append
(
future
)
print
(
'Processe
%
s start'
%
processe
)
executor
.
shutdown
(
True
)
for
future
in
futures
:
print
(
future
)
# while True:
# now = datetime.datetime.now()
# if now.hour >= exit_hour:
...
...
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