changed max scan requests to 128
This commit is contained in:
parent
07e6eec033
commit
16b263b3e2
@ -8,8 +8,9 @@ import pypong.networking.client as client
|
||||
global running
|
||||
|
||||
# Don't allow any more than this number of threads when looking for games
|
||||
# Can cripple a network at high numbers
|
||||
MAX_SCAN_REQUESTS = 64
|
||||
# Can cripple a network at high numbers, 128 is recommended (can scan a /24 network in ~9 seconds on average)
|
||||
# Higher range subnets will exponentially take more time to finish (/16 would take ~38.4 minutes at 128 req/s)
|
||||
MAX_SCAN_REQUESTS = 128
|
||||
|
||||
def main():
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user