mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-09-06 18:01:07 +00:00
Update server.py
This commit is contained in:
parent
626121995e
commit
c0767abd69
|
@ -37,7 +37,7 @@ except KeyboardInterrupt:
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
|
|
||||||
parser.add_argument('--max_conn', help="Maximum allowed connections", default=255, type=int)
|
parser.add_argument('--max_conn', help="Maximum allowed connections", default=255, type=int)
|
||||||
parser.add_argument('--buffer_size', help="Number of samples to be used", default=1024, type=int)
|
parser.add_argument('--buffer_size', help="Number of samples to be used", default=8192, type=int)
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
max_connection = args.max_conn
|
max_connection = args.max_conn
|
||||||
|
|
Loading…
Reference in New Issue
Block a user