Skip to content

Commit a271cc6

Browse files
committed
use default poll value instead of 1000
- `waitForProcessButSpin` uses 1000 ms for poll - there is no need for that delay
1 parent e4f480a commit a271cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/json/statuscache.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ proc waitForProcessButSpin() =
128128
try:
129129
while true:
130130
spinner.spinLoadingSpinnerOnce((termWidth - 3,3))
131-
poll(1000)
131+
poll()
132132
except ValueError:
133133
discard
134134
finally:

0 commit comments

Comments
 (0)