Skip to content

Commit

Permalink
Lower launch game check for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Sanchez committed Aug 14, 2024
1 parent c0a772c commit 8df2714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/arena/lib/arena/matchmaking/game_launcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ defmodule Arena.Matchmaking.GameLauncher do

@impl true
def handle_info(:launch_game?, %{clients: clients} = state) do
Process.send_after(self(), :launch_game?, 300)
Process.send_after(self(), :launch_game?, 30)
diff = System.monotonic_time(:millisecond) - state.batch_start_at

if length(clients) >= Application.get_env(:arena, :players_needed_in_match) or
Expand Down

0 comments on commit 8df2714

Please sign in to comment.