Commit e57a20f
committed
fix: DList timeout=0 means wait indefinitely
When timeout is 0, treat it as no timeout (wait forever) instead of
using a deadline that has already passed. This allows callers to
distinguish between "wait with timeout" and "wait without timeout".
Signed-off-by: Shawn Wang <shawn.wang@zilliz.com>1 parent 4f1bdba commit e57a20f
2 files changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
0 commit comments