Skip to content

Commit

Permalink
tweak broadcast dynamic pull period
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jun 26, 2024
1 parent a5b5ca0 commit a1398f1
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 @@ -160,7 +160,9 @@ final private class RelayFetch(
else if upstream.isRound then 10 // uses push so no need to pull often
else 2
base * {
if tour.official then 1 else 2
if tour.tier.exists(_ > RelayTour.Tier.NORMAL) then 1
else if tour.official then 2
else 3
} * {
if round.crowd.exists(_ > 4) then 1 else 2
} * {
Expand Down

0 comments on commit a1398f1

Please sign in to comment.