-
Notifications
You must be signed in to change notification settings - Fork 311
Closed
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcomponent: botscomponent: core
Milestone
Description
The API collector is consuming a lot of CPU, up to 100%, independent of the actual message load. strace shows, that the bot is always polling redis, for the stats (which are written after the process execution).
The problem is, that the bot declares
| __collector_empty_process: bool = True |
but this attribute is part of the
Bot class:Line 114 in f2b07f6
| __collector_empty_process: bool = False |
and should therefore be called
_Bot__collector_empty_process to be effective. And actually, this should just be called _collector_empty_processMetadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcomponent: botscomponent: core