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? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
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