ffranr
cd566eb097
multi: fix fmt.Errorf error wrapping
...
Refactor fmt.Errorf usage to correctly wrap errors instead of using
non-wrapping format verbs.
2024-02-27 11:13:40 +00:00
Michael Rooke
78d9996620
trivial: Fix spelling errors
...
- Fixes some spelling in code comments and a couple of function names
2023-09-21 22:35:33 -04:00
Eng Zer Jun
5e6690107e
pool: replace defer cleanup with t.Cleanup
...
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-10-13 17:47:03 +08:00
Tommy Volk
9a10c80bcb
multi: move many t.Fatalf calls to require.NoError
2022-06-17 04:26:55 +00:00
Dimitris Apostolou
530a2059e5
multi: Fix typos [skip ci]
2022-01-24 12:19:02 +02:00
yyforyongyu
eb1affd5da
pool: fix typo
2020-12-04 23:07:53 +08:00
Conner Fromknecht
17b2140cb5
multi: fix spelling mistakes
2019-05-04 15:35:37 -07:00
Conner Fromknecht
d75112ce8d
pool/worker: increase worker timeout to 90s
...
This commit increases the default worker timeout currently backing the
read and write pools. This allows the read and write pools to sustain
regular bursty traffic such as ping/pong without releasing their buffers
back to the underlying gc queue. In the future, jitter can be added to
our ping and/or gossip messages to reduce the concurrent usage of read
and write pools, which will make this change even more effective.
2019-04-04 01:51:47 -07:00
Conner Fromknecht
ce1bd4be2c
pool/worker_test: add tests for concrete Worker pools
2019-02-21 20:10:40 -08:00
Conner Fromknecht
32339a92d3
pool/read: adds Read pool
2019-02-21 20:10:28 -08:00
Conner Fromknecht
d2eeee7a12
pool/write: adds Write pool
2019-02-21 20:10:17 -08:00
Conner Fromknecht
37d866328b
pool/worker: add generic Worker pool
2019-02-21 20:10:06 -08:00
Conner Fromknecht
5d9514fbe4
buffer+pool: add buffer.Read and pool.ReadBuffer
2019-02-15 19:33:08 -08:00
Conner Fromknecht
6f96d04b72
multi: add buffer.Write and pool.WriteBuffer, make GCQueue generic
2019-02-15 19:31:24 -08:00