Skip to content

Commit

Permalink
tweak broadcast dynamicPeriod
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jun 26, 2024
1 parent 07aa9d2 commit 3490931
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/relay/src/main/RelayFetch.scala
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,13 @@ final private class RelayFetch(
val base =
if upstream.isLcc then 6
else if upstream.isRound then 10 // uses push so no need to pull often
else 3
else 2
base * {
if tour.official then 1 else 2
} * {
if round.crowd.exists(_ > 4) then 1 else 2
} * {
if round.hasStarted then 1 else 2
}

private val gameIdsUpstreamPgnFlags = PgnDump.WithFlags(
Expand Down

0 comments on commit 3490931

Please sign in to comment.