2
0
Files
pgx/internal
Jack Christensen 898891a6ee Fake non-blocking read adapts its max wait time
The reason for a high max wait time was to ensure that reads aren't
cancelled when there is data waiting for it in Go or the OS's receive
buffer. Unfortunately, there is no way to know ahead of time how long
this should take.

This new code uses 2x the fastest successful read time as the max read
time. This allows the code to adapt to whatever host it is running on.

https://github.com/jackc/pgx/issues/1481
2023-01-28 09:35:52 -06:00
..
2022-04-09 09:12:55 -05:00
2023-01-24 07:55:00 -06:00
2022-11-14 18:32:26 -06:00
2022-07-10 14:32:08 -05:00