Skip to content

Debug code causes notices at high speed #1

Open
@aib

Description

@aib

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions