go: sqlite
parent
cbc013ba40
commit
640a53cf09
|
@ -796,6 +796,7 @@ internal
|
|||
<p>Remember to config:</p>
|
||||
<ul>
|
||||
<li>Write-Ahead Logging: <code>PRAGMA journal_mode=WAL</code></li>
|
||||
<li>Set timeout retry lock: <code>PRAGMA busy_timeout=5000</code></li>
|
||||
<li>
|
||||
Disable connections pool with <code>SetMaxOpenConns</code> sets to 1
|
||||
</li>
|
||||
|
|
|
@ -408,6 +408,7 @@ Remember to config:
|
|||
Remember to config:
|
||||
|
||||
- Write-Ahead Logging: `PRAGMA journal_mode=WAL`
|
||||
- Set timeout retry lock: `PRAGMA busy_timeout=5000`
|
||||
- Disable connections pool with `SetMaxOpenConns` sets to 1
|
||||
|
||||
Don't use [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3), it's required
|
||||
|
|
Loading…
Reference in New Issue