forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd094d54
Remove our artificial PG_SOMAXCONN limit on listen queue length.
I added this in commit153f400, out of paranoia about kernelspossibly rejecting very large listen backlog requests. However,POSIX has said for decades that the kernel must silently reduceany value it considers too large, and there's no evidence thatany current system doesn't obey that. Let's just drop this limitand save some complication.While we're here, compute the request as twice MaxConnections nottwice MaxBackends; the latter no longer means what it did in 2001.Per discussion of a report from Kevin McKibbin.Discussion:https://postgr.es/m/CADc_NKg2d+oZY9mg4DdQdoUcGzN2kOYXBu-3--RW_hEe0tUV=g@mail.gmail.com1 parent9601607 commitd094d54
2 files changed
+4
-17
lines changedLines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
537 | 537 |
| |
538 | 538 |
| |
539 | 539 |
| |
540 |
| - | |
541 |
| - | |
542 |
| - | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
543 | 543 |
| |
544 |
| - | |
545 |
| - | |
546 |
| - | |
| 544 | + | |
547 | 545 |
| |
548 | 546 |
| |
549 | 547 |
| |
|
Lines changed: 0 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 | 117 |
| |
129 | 118 |
| |
130 | 119 |
| |
|
0 commit comments
Comments
(0)