Skip to content

Commit

Permalink
Fix type of delayMs.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettle committed Jul 16, 2024
1 parent 4378a6b commit 0901453
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public static void init(Supervisor robot, int basicTimeStep) {
delayer = new Timer();
// Set to something like 100 if you are trying to reproduce the latencies we sometimes see
// on some underpowered CI machines
double delayMs = 0;
long delayMs = 0;
ConnectionProcessor.setThreadExecutor((ev) -> {
if (delayMs == 0) {
queuedEvents.add(ev);
Expand Down

0 comments on commit 0901453

Please sign in to comment.