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

Wait for events in the queue #24

Merged
merged 4 commits into from
Sep 30, 2024
Merged

Conversation

konraddysput
Copy link
Contributor

Why

Feedback from our users - in the server app it's fine to just wait a second for events to send if the application doesn't end with an unhandled exception. This change allows the setup a timeout for the queue to clean up on the application exit. Thanks to this we can see all reports from our demo, or we're using if someone is testing us with a simple script, the data is in Backtrace

backtracepython/client.py Outdated Show resolved Hide resolved
backtracepython/report_queue.py Show resolved Hide resolved
backtracepython/report_queue.py Show resolved Hide resolved
backtracepython/report_queue.py Outdated Show resolved Hide resolved
konraddysput and others added 3 commits September 27, 2024 20:36
Co-authored-by: Sebastian Alex <sebapotok@gmail.com>
Add a comment about the thread exit parameter
@konraddysput konraddysput merged commit eb05a6e into master Sep 30, 2024
6 checks passed
@konraddysput konraddysput deleted the improvement/wait-for-events branch September 30, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants