Closed morozovsk closed 10 months ago
I have a code:
$instance = new \danog\MadelineProto\API("runtime/madeline/$bot_config.madeline", ['app_info' => ['api_id' => '', 'api_hash' => '', 'logger' => ['level' => 2]]); $instance->startAndLoop(TgEventHandler::class);
and I have 100% processor loading. also I have log level 2 (warning) but I have a lot of notices like: MsgIdHandler, 5427305996: Zend hashmap reallocation done. Cleaned memory: 0.2 Mb
MsgIdHandler, 5427305996: Zend hashmap reallocation done. Cleaned memory: 0.2 Mb
Switch to MadelineProto 8 and to TgEventHandler::startAndLoop to fix.
I have a code:
and I have 100% processor loading. also I have log level 2 (warning) but I have a lot of notices like:
MsgIdHandler, 5427305996: Zend hashmap reallocation done. Cleaned memory: 0.2 Mb