php-amqp icon indicating copy to clipboard operation
php-amqp copied to clipboard

Debug code causes notices at high speed

Open aib opened this issue 13 years ago • 0 comments

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 :)

aib avatar Aug 17 '10 09:08 aib