Skip to content

Commit a8eea25

Browse files
committed
Wait for up to 60s for battlesnakes to start
We check continuously, so should not usually happen Closes #61
1 parent f5a4377 commit a8eea25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

codeclash/games/battlesnake/battlesnake.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, config, **kwargs):
2424
self.run_cmd_round += f" --{arg} {val}"
2525
self._failed_to_start_player = []
2626

27-
def _wait_for_ports(self, requested_ports: list[int], timeout: float = 3.0) -> list[int]:
27+
def _wait_for_ports(self, requested_ports: list[int], timeout: float = 60.0) -> list[int]:
2828
"""Wait for ports to be served, up to timeout seconds.
2929
3030
Returns:

0 commit comments

Comments
 (0)