Skip to content

Commit

Permalink
feat: Test single worker time
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMcL committed Aug 1, 2023
1 parent e5606a5 commit 5f5ea65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vega_sim/api/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def wait_for_core_catchup(
core_time = retry(
10, 0.5, lambda: core_data_client.GetVegaTime(GetVegaTimeRequest()).timestamp
)
time.sleep(0.1)
time.sleep(0.001)
core_time_two = retry(
10, 0.5, lambda: core_data_client.GetVegaTime(GetVegaTimeRequest()).timestamp
)
Expand All @@ -122,7 +122,7 @@ def wait_for_core_catchup(
0.5,
lambda: core_data_client.GetVegaTime(GetVegaTimeRequest()).timestamp,
)
time.sleep(0.001 * 1.03**attempts)
time.sleep(0.0001 * 1.03**attempts)
core_time_two = retry(
10,
0.5,
Expand Down

0 comments on commit 5f5ea65

Please sign in to comment.