Minor change to sliding deadline test
This commit is contained in:
parent
1947b9ddd4
commit
f10796ac53
|
@ -4,7 +4,7 @@ import structio
|
|||
async def main(n):
|
||||
print(f"[main] Starting sliding timer with timeout {n}")
|
||||
i = structio.clock()
|
||||
with structio.skip_after(n - 1) as scope:
|
||||
with structio.skip_after(2) as scope:
|
||||
while n:
|
||||
# This looks weird, but it allows us to
|
||||
# handle floating point values (basically
|
||||
|
|
Loading…
Reference in New Issue