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

allow to safely terminate commands... #36

Open
alanbem opened this issue Nov 27, 2019 · 1 comment
Open

allow to safely terminate commands... #36

alanbem opened this issue Nov 27, 2019 · 1 comment

Comments

@alanbem
Copy link
Member

alanbem commented Nov 27, 2019

...by handling SIGINT and SIGINT

        pcntl_async_signals(true);
        pcntl_signal(SIGINT, [$this, 'terminate']);
        pcntl_signal(SIGTERM, [$this, 'terminate']);
@alanbem
Copy link
Member Author

alanbem commented Nov 27, 2019

Especially streak:subscriptions:run and streak:subscription:run commands are important to support that

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

1 participant