Commit d865c91
committed
db: set idle_in_transaction_session_timeout to 30s
A Skunk session that crashes mid-transaction could otherwise hold Postgres
locks indefinitely until the pool recycles the connection. 30 s is generous
enough for normal bulk-upsert operations while still providing a safety net.1 parent 1bf17d3 commit d865c91
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
37 | 44 | | |
38 | 45 | | |
39 | 46 | | |
| |||
0 commit comments