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
whoosh may raise LockError on index.writer() if another thread is using the writer. Note that whoosh's BufferedWriter and AsyncWriter are both broken when used with a lot of threads. BufferedWriter doesn't hold it's internal lock for it's whole critical section for example. A simple lock for index.writer() would probably work for this.
The text was updated successfully, but these errors were encountered:
whoosh may raise
LockError
onindex.writer()
if another thread is using the writer. Note that whoosh'sBufferedWriter
andAsyncWriter
are both broken when used with a lot of threads.BufferedWriter
doesn't hold it's internal lock for it's whole critical section for example. A simple lock forindex.writer()
would probably work for this.The text was updated successfully, but these errors were encountered: