P
Prisma11mo ago
jdkdev

SQLite Timeout issues

I am having issues with Prisma + Sqlite. Essentially I believe Prisma isn't setting sqlite busy_timeout or something. There is a long history with this issue, see here Anyone else experience that might have a workaround? Essentially, I believe the timeout error is caused when 2 writes hit the same table at the same time. Prisma immediately returns an error instead of respecting the timeout set on the url string:
DATABASE_URL=file:../../db/development.db?socket_timeout=30000&connection_limit=1
DATABASE_URL=file:../../db/development.db?socket_timeout=30000&connection_limit=1
Thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?