Commit 78ee54e
Document PostgreSQL pool sizing with ParallelMessageQueue
When `PostgresMessageQueue` is used together with
`ParallelMessageQueue(queue, N)`, the PostgreSQL connection pool must
be sized larger than `N`. Using the default pool size of 10 with
`ParallelMessageQueue(queue, 10)` can cause connection starvation
that makes the application appear hung.
Added warnings in both the `PostgresMessageQueue` section and the
parallel message processing section explaining this requirement and
recommending a dedicated pool when the pool is shared with other
parts of the application.
Closes #603
[ci skip]
Co-Authored-By: Claude <claude@anthropic.com>1 parent 8b21c62 commit 78ee54e
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
224 | 236 | | |
225 | 237 | | |
226 | 238 | | |
| 239 | + | |
227 | 240 | | |
228 | 241 | | |
229 | 242 | | |
| |||
728 | 741 | | |
729 | 742 | | |
730 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
731 | 752 | | |
732 | 753 | | |
733 | 754 | | |
| |||
0 commit comments