This repository was archived by the owner on Jan 28, 2021. It is now read-only.
Commit e742bea
Juanjo Alvarez
Enforce the read timeout on row iterator reads
- Added test for row timeout
- Review feedback and some simplified logic for the row read select
- RowTimeout: Use a single NewTimer instead of After for better memory usage
- Restore default timeout and readTimeout values
- Refactor rowloop select
Signed-off-by: Juanjo Alvarez <[email protected]>1 parent 9966832 commit e742bea
File tree
6 files changed
+229
-52
lines changed- server
6 files changed
+229
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
21 | 18 | | |
22 | 19 | | |
23 | 20 | | |
24 | | - | |
| 21 | + | |
25 | 22 | | |
26 | | - | |
27 | 23 | | |
28 | 24 | | |
| 25 | + | |
| 26 | + | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
0 commit comments