Commit b6085f2
authored
fix(sqlite): fix database locked issues (#7469)
<!-- Describe what has changed in this PR -->
**What changed?**
* Number of open and idle connections has reduced to 1 in
`development_sqlite.yaml` from 20 to 1
<!-- Tell your future self why have you made these changes -->
**Why?**
* Due to multiple parallel connections, a `database is locked` error is
occurred. This change reduces the number of open connections managed by
sqlite plugin.
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
**How did you test it?**
* Unit test
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
**Potential risks**
* No risks1 parent db4bd6b commit b6085f2
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
0 commit comments