tgmsbot: workers to 8

This commit is contained in:
JerryXiao 2019-01-14 21:32:22 +08:00
parent 109c631914
commit a684ed6505
Signed by: Jerry
GPG key ID: 9D9CE43650FF2BAA

View file

@ -13,7 +13,7 @@ logging.basicConfig(level=logging.INFO,format='%(asctime)s - %(name)s - %(leveln
logger = logging.getLogger(__name__)
token = "token_here"
updater = Updater(token, workers=16)
updater = Updater(token, workers=8)
job_queue = updater.job_queue
job_queue.start()