Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined variable: quitIfModified #1

Closed
NicolasCayet opened this issue Apr 16, 2015 · 1 comment
Closed

Undefined variable: quitIfModified #1

NicolasCayet opened this issue Apr 16, 2015 · 1 comment
Assignees

Comments

@NicolasCayet
Copy link

Hi,

I've got a PHP notice while running Apnsd Worker
: PHP Notice: Undefined variable: quitIfModified in .../backq/src/Worker/Apnsd.php on line 141

It seems that:

if ($quitIfModified) {
    // ...
}

is causing an issue.

Did you meant:

$this->quitIfModified

?

sshilko added a commit that referenced this issue Apr 20, 2015
@sshilko
Copy link
Owner

sshilko commented Apr 20, 2015

thanks, yes, i do have opcache w/o invalidation so it is never triggered anyway;
disabled by default (changed to false) and fixed notice.

The idea was to keep workers up to date and that they would die if changed, then restarted by supervisor.
But since then in production there is no need for such thing, plus opcache prevents it at all to happen.

@sshilko sshilko self-assigned this Apr 20, 2015
@sshilko sshilko closed this as completed Apr 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants