-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Timeout when connecting to the sqlite database #115
Comments
This seems to be related to a number of upstream issues in Prisma. One workaround I found is to add this to your connection uri: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm occasionally running into errors when connecting to the sqlite database. We use citizen to version our modules. The way our setup works is we have a pipeline that will do a terraform init/plan in any directories that have changes which will download the relevant modules from citizen. Sometimes the pipeline will have a large build and will do the init/plan in a lot of directories in parallel at once. When this happens, citizen might crash with the following error (unfortunately I don't have a reliable way to reproduce the error). The error with which it fails is below -
The error happens when citizen tries to increment the download counter for the module in the database.
citizen/stores/sqlite/sqlite.js
Line 94 in 650d286
My question is this, does that increment even need to happen? Is there any other setting we can tweak on sqlite or citizen to increase the timeout?
Thanks!
The text was updated successfully, but these errors were encountered: