Commit 00316d0
Attempting to quash SQLite3::BusyException
On occasion, our specs encounter a `SQLite3::BusyException` exception.
This commit, based on some Google-fu (actually DuckDuckGo-ing but
that's not yet in our vernacular), I found a few references that
involve increasing the `RAILS_MAX_THREADS` environment variable and/or
increasing the database timeout.
In CircleCI, for SHA 600753e and rspec
seed 3048, we encountered the problem. I don't assume that we can
duplicate this behavior with that configuration.
References
* https://stackoverflow.com/questions/7154664/ruby-sqlite3busyexception-database-is-locked1 parent f9b75f2 commit 00316d0
3 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
| |||
0 commit comments