You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the connector in a panel app with panel serve --num-threads 2 app.py, I got the following error: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 139771783407360 and this is thread id 139771770820352
This should be possible to use an annotator across multiple threads. There is an option to disable this warning with check_same_threadref. Though I'm leaning towards always creating a new connection when using the database to also avoid sqlite is in use errors.
The text was updated successfully, but these errors were encountered:
When running the connector in a panel app with
panel serve --num-threads 2 app.py
, I got the following error:SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 139771783407360 and this is thread id 139771770820352
This should be possible to use an annotator across multiple threads. There is an option to disable this warning with
check_same_thread
ref. Though I'm leaning towards always creating a new connection when using the database to also avoid sqlite is in use errors.The text was updated successfully, but these errors were encountered: