Skip to content

Commit

Permalink
set machine started interval to 5 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
sushant12 committed Dec 10, 2024
1 parent 401e036 commit b7c75f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/handin/build_server.ex
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ defmodule Handin.BuildServer do

defp machine_started?(machine, attempts \\ 0) do
max_attempts = 5
# 2 seconds
interval = 2000
interval = 5000

if attempts >= max_attempts do
{:error, :timeout}
Expand Down

0 comments on commit b7c75f3

Please sign in to comment.