Removed asyncio + threading mix. Used requests to send telegram messages

This commit is contained in:
Joan Cano
2023-08-14 14:52:06 +02:00
parent 219819738d
commit d8e16057af
4 changed files with 39 additions and 43 deletions

View File

@@ -464,7 +464,7 @@ def main()->None:
SEARCH_THREADS_LIST.append((product, p))
logging.info(f"{count} products finally loaded")
p = threading.Thread(target=account_checker.account_checker, args=(3600, ))
p = threading.Thread(target=account_checker.work, args=(3600, ))
p.start()
p = threading.Thread(target=count_threads)