hop count limit for games to keep network use ok
This commit is contained in:
SpudGunMan
2024-10-04 17:23:00 -07:00
parent 94907bec26
commit ee49f69231
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -164,6 +164,7 @@ try:
responseDelay = config['messagingSettings'].getfloat('responseDelay', 0.7) # default 0.7
splitDelay = config['messagingSettings'].getfloat('splitDelay', 0) # default 0
MESSAGE_CHUNK_SIZE = config['messagingSettings'].getint('MESSAGE_CHUNK_SIZE', 160) # default 160
game_hop_limit = config['messagingSettings'].getint('game_hop_limit', 5) # default 3 hops
except KeyError as e:
print(f"System: Error reading config file: {e}")