php-amqp
php-amqp copied to clipboard
Debug code causes notices at high speed
Notice: Undefined variable: METHOD_NAME_MAP in E:\Git\saranbetting-source\library\php-amqp\amqp.inc on line 277
I start getting this notice at around 10 messages a second in a consumer in a tight loop. Is there some kind of race condition?
Note that I create and destroy a basic_consumer for every message.
Removing every line with "debug" in it seems to solve this :)