how fix `database is locked` when run `ASYNC`?
Activity
lganzzzo commentedon Apr 16, 2024
Hello @kekxv ,
Most probably you are getting
database is lockederror when trying to read/write DB from multiple threads simultaneously.To fix that just set you DB connection pool to max 1 connection
kekxv commentedon Apr 17, 2024
@lganzzzo thank you for your reply.
you mean
maxResources?I tried changing it to1but it becamevery slow. includeselect.Will
database is lockedexist between reading and writing? Can add a write lock?