diff --git a/utils/ezio_add_torrent.py b/utils/ezio_add_torrent.py index 158b5ed..058b266 100755 --- a/utils/ezio_add_torrent.py +++ b/utils/ezio_add_torrent.py @@ -24,6 +24,8 @@ stub = ezio_pb2_grpc.EZIOStub(channel) request = ezio_pb2.AddRequest() + request.max_uploads = 2 + request.max_connections = 3 request.save_path = sys.argv[2] with open(sys.argv[1], 'rb') as f: request.torrent = f.read() diff --git a/utils/ezio_add_torrent_seed.py b/utils/ezio_add_torrent_seed.py index 1dbfb5d..471c9a8 100755 --- a/utils/ezio_add_torrent_seed.py +++ b/utils/ezio_add_torrent_seed.py @@ -24,6 +24,8 @@ stub = ezio_pb2_grpc.EZIOStub(channel) request = ezio_pb2.AddRequest() + request.max_uploads = 1 + request.max_connections = 2 request.save_path = sys.argv[2] request.seeding_mode = True with open(sys.argv[1], 'rb') as f: