mirror of
https://github.com/simon987/gabtv_feed.git
synced 2025-12-15 07:39:06 +00:00
update has_visited condition
This commit is contained in:
7
run.py
7
run.py
@@ -62,10 +62,9 @@ if __name__ == "__main__":
|
||||
rdb = redis.Redis(host=REDIS_HOST, port=REDIS_PORT)
|
||||
|
||||
publish_q = Queue()
|
||||
for _ in range(3):
|
||||
publish_thread = Thread(target=publish_worker, args=(publish_q,))
|
||||
publish_thread.setDaemon(True)
|
||||
publish_thread.start()
|
||||
publish_thread = Thread(target=publish_worker, args=(publish_q,))
|
||||
publish_thread.setDaemon(True)
|
||||
publish_thread.start()
|
||||
|
||||
s = GabTvScanner(state, GTV_RPS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user