Skip to content

Commit

Permalink
add look_back to wait for state
Browse files Browse the repository at this point in the history
  • Loading branch information
cl0ete committed Oct 25, 2024
1 parent def6f6a commit 6115bf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/tests/util/sse_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def wait_for_event(
"""
Start listening for SSE events. When an event is received that matches the specified parameters.
"""
url = f"{waypoint_base_url}/{self.wallet_id}/{self.topic}/{field}/{field_id}/{desired_state}"
url = f"{waypoint_base_url}/{self.wallet_id}/{self.topic}/{field}/{field_id}/{desired_state}?look_back=5"

timeout = Timeout(timeout)
async with RichAsyncClient(timeout=timeout) as client:
Expand Down

0 comments on commit 6115bf2

Please sign in to comment.