Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

fix ctrl-c not working under autopush_rs #1090

Closed
pjenvey opened this issue Nov 30, 2017 · 1 comment · Fixed by #1131
Closed

fix ctrl-c not working under autopush_rs #1090

pjenvey opened this issue Nov 30, 2017 · 1 comment · Fixed by #1131
Assignees
Labels

Comments

@pjenvey
Copy link
Member

pjenvey commented Nov 30, 2017

Currently autopush_rs doesn't correctly handle SIGINT to quit the process. Ideally it would be joining on all the worker threads -- but thread join blocks signal handling.

We may need to make a busy loop in the main python thread to handle receiving the signal and triggering shutdown -- not ideal but I'm not sure there's another option. I think Python 3 may have some improvements for this situation

@bbangert
Copy link
Member

Note that this will also need to update the sentry code to track the thread handle and join it on shutdown as well.

@pjenvey pjenvey added the ready label Dec 6, 2017
@pjenvey pjenvey self-assigned this Feb 5, 2018
pjenvey added a commit that referenced this issue Feb 13, 2018
also fix pulling SENTRY_DSN from runtime vs build env

Closes #1090
pjenvey added a commit that referenced this issue Feb 13, 2018
also fix pulling SENTRY_DSN from build vs runtime env

Closes #1090
pjenvey added a commit that referenced this issue Feb 13, 2018
also include the rust sentry thread in the shutdown process and fix
pulling SENTRY_DSN from build vs runtime env

Closes #1090
pjenvey added a commit that referenced this issue Feb 13, 2018
also include the rust sentry thread in the shutdown process and fix
pulling SENTRY_DSN from build vs runtime env

Closes #1090
@pjenvey pjenvey added in progress and removed ready labels Feb 13, 2018
pjenvey added a commit that referenced this issue Feb 13, 2018
also include the rust sentry thread in the shutdown process and fix
pulling SENTRY_DSN from build vs runtime env

Closes #1090
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants