update has_visited condition

This commit is contained in:
2021-02-06 17:31:02 -05:00
parent 2f8cbca0b2
commit 3dda97e180
3 changed files with 12 additions and 5 deletions

7
run.py
View File

@@ -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)