Skip to content

Commit

Permalink
Merge pull request #1199 from HathorNetwork/chore/reduce-max-enabled-…
Browse files Browse the repository at this point in the history
…sync

chore(p2p): decrease p2p.max_enabled_sync's default value: 16 -> 8
  • Loading branch information
jansegre authored Jan 8, 2025
2 parents 692a74c + 9247743 commit b17a8be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hathor/conf/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def GENESIS_TX2_TIMESTAMP(self) -> int:
PARTIALLY_VALIDATED_ID: bytes = b'pending-validation'

# Maximum number of sync running simultaneously.
MAX_ENABLED_SYNC: int = 16
MAX_ENABLED_SYNC: int = 8

# Time to update the peers that are running sync.
SYNC_UPDATE_INTERVAL: int = 10 * 60 # seconds
Expand Down

0 comments on commit b17a8be

Please sign in to comment.