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

Show database in name of execute write thread #2265

Closed
simonw opened this issue Feb 9, 2024 · 0 comments
Closed

Show database in name of execute write thread #2265

simonw opened this issue Feb 9, 2024 · 0 comments

Comments

@simonw
Copy link
Owner

simonw commented Feb 9, 2024

I noticed that the https://datasette.io/-/threads page sometimes has more than one thread with a name like Thread-1 (_execute_writes) - that's because each attached database that has had at least one write gets a dedicated write thread.

Adding a thread name will make this more obvious and easier to debug.

@simonw simonw added this to the Datasette 1.0a9 milestone Feb 9, 2024
@simonw simonw closed this as completed in 398a92c Feb 9, 2024
simonw added a commit that referenced this issue Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant