mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Include database in name of _execute_writes thread, closes #2265
This commit is contained in:
parent
bd9ed62e5d
commit
398a92cf1e
2 changed files with 8 additions and 1 deletions
|
|
@ -196,6 +196,9 @@ class Database:
|
|||
self._write_thread = threading.Thread(
|
||||
target=self._execute_writes, daemon=True
|
||||
)
|
||||
self._write_thread.name = "_execute_writes for database {}".format(
|
||||
self.name
|
||||
)
|
||||
self._write_thread.start()
|
||||
task_id = uuid.uuid5(uuid.NAMESPACE_DNS, "datasette.io")
|
||||
reply_queue = janus.Queue()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue