Added comments on workers

This commit is contained in:
2023-06-01 15:53:47 +02:00
parent 64b54a4efc
commit c68d589260
2 changed files with 4 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ class PyroClient(Client):
api_id=config["bot"]["api_id"],
api_hash=config["bot"]["api_hash"],
bot_token=config["bot"]["bot_token"],
# Workers should be commented when using convopyro, otherwise
# handlers land in another event loop and you won't see them
workers=config["bot"]["workers"],
plugins=dict(root="plugins", exclude=config["disabled_plugins"]),
sleep_threshold=120,