Skip to content

Commit

Permalink
test uploads=2 connections=2
Browse files Browse the repository at this point in the history
Signed-off-by: Date Huang <[email protected]>
  • Loading branch information
tjjh89017 committed Nov 27, 2023
1 parent 29e0cd4 commit 9db0bbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/ezio_add_torrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

request = ezio_pb2.AddRequest()
request.save_path = sys.argv[2]
request.max_uploads = 2
request.max_connections = 2
with open(sys.argv[1], 'rb') as f:
request.torrent = f.read()

Expand Down
2 changes: 2 additions & 0 deletions utils/ezio_add_torrent_seed.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
request = ezio_pb2.AddRequest()
request.save_path = sys.argv[2]
request.seeding_mode = True
request.max_uploads = 2
request.max_connections = 2
with open(sys.argv[1], 'rb') as f:
request.torrent = f.read()

Expand Down

0 comments on commit 9db0bbe

Please sign in to comment.