Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/perfmon
Original file line number Diff line number Diff line change
Expand Up @@ -1154,8 +1154,8 @@ def main():
# trust GC to do it on its own
gc.collect()

# Sleep for interval +/- dither, exiting early if we recv a cmd
timeout = rand(interval - dither, interval + dither)
# Sleep for interval + dither, exiting early if we recv a cmd
timeout = rand(interval, interval + dither)
cmdsock.settimeout(timeout)
try:
cmd = cmdsock.recv(cmdmaxlen)
Expand Down