This repository was archived by the owner on May 22, 2025. It is now read-only.
Commit 4202165
authored
fix: Adjust big segments logic to prevent duplicate polls. (#225)
The contract tests attempt to determine that the SDK is not making
redundant polls, and sometimes this test would fail.
Theoretically this could also affect a server handling requests on many
threads which concurrently request status before the first request has
completed.1 parent 6efa8d7 commit 4202165
File tree
1 file changed
+4
-6
lines changed- pkgs/sdk/server/src/Internal/BigSegments
1 file changed
+4
-6
lines changedLines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
| 124 | + | |
127 | 125 | | |
128 | 126 | | |
129 | 127 | | |
| |||
0 commit comments