Skip to content

Commit 3126dca

Browse files
benchmark, revert me
1 parent f3e393e commit 3126dca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_background_task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ async def handle_event_yield_only(self):
4444

4545
@rx.event(background=True)
4646
async def fast_yielding(self):
47-
for _ in range(1000):
47+
for _ in range(100000):
4848
yield State.increment()
4949

5050
@rx.event
@@ -409,4 +409,4 @@ def test_fast_yielding(
409409
assert background_task._poll_for(lambda: counter.text == "0", timeout=5)
410410

411411
fast_yielding_button.click()
412-
assert background_task._poll_for(lambda: counter.text == "1000", timeout=50)
412+
assert background_task._poll_for(lambda: counter.text == "100000", timeout=1200)

0 commit comments

Comments
 (0)