Commit d461d05
committed
For testing purposes, reinsert a timeout in pgstat.c's wait call.
Test results from buildfarm members mastodon/narwhal (Windows Server 2003)
make it look like that platform just plain loses FD_READ events
occasionally, and the only reason our previous coding seemed to work was
that it timed out every couple of seconds and retried the whole operation.
Try to verify this by reinserting a finite timeout into the pgstat loop.
This isn't meant to be a permanent patch either, just to confirm or
disprove a theory.1 parent f1ca515 commit d461d05
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3241 | 3241 | | |
3242 | 3242 | | |
3243 | 3243 | | |
| 3244 | + | |
3244 | 3245 | | |
3245 | | - | |
| 3246 | + | |
3246 | 3247 | | |
3247 | | - | |
| 3248 | + | |
3248 | 3249 | | |
3249 | 3250 | | |
3250 | 3251 | | |
| |||
0 commit comments