Multithreading error (sqlite lock) #350
|
Recently,when I try to use '-t ', I always encounter that 'sqlite3.OperationalError) database is locked' . My version is 1.6.3. Is there any method ? Thanks very much ! By the way, is MsNoise2.0 released?Or say it is just the development version? |
Answered by
ThomasLecocq
Jul 8, 2024
Replies: 1 comment 2 replies
|
Hi, indeed, as stated in the documentation, the usage of threading can lead to issues with sqlite, as sqlite is a non-parallel "write" database. If you use it, make sure to use the "-d 5" option (5 being the number of seconds to wait between threads). msnoise 2 should be there soon, but "master" version is already very stable |
2 replies
Answer selected by
Baimanight
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi, indeed, as stated in the documentation, the usage of threading can lead to issues with sqlite, as sqlite is a non-parallel "write" database. If you use it, make sure to use the "-d 5" option (5 being the number of seconds to wait between threads).
msnoise 2 should be there soon, but "master" version is already very stable