changed max scan requests to 128
This commit is contained in:
parent
6ab6bb5cf8
commit
671533de79
@ -8,8 +8,9 @@ import pypong.networking.client as client
|
|||||||
global running
|
global running
|
||||||
|
|
||||||
# Don't allow any more than this number of threads when looking for games
|
# Don't allow any more than this number of threads when looking for games
|
||||||
# Can cripple a network at high numbers
|
# Can cripple a network at high numbers, 128 is recommended (can scan a /24 network in ~9 seconds on average)
|
||||||
MAX_SCAN_REQUESTS = 64
|
# 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():
|
def main():
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user