Skip to content

Commit

Permalink
fix a default arg
Browse files Browse the repository at this point in the history
  • Loading branch information
flowerfalling committed Mar 26, 2023
1 parent 10be202 commit ba514d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def get_args():
parser.add_argument('-e', '--epochs', type=int, default=1, help='重复次数')
parser.add_argument('-tn', '--tasks-num', type=int, default=1, help='task数量')
parser.add_argument('-rn', '--requests-num', type=int, default=1, help='单个task循环请求次数,最好不要超过1000')
parser.add_argument('-w', '--wait', type=float, default=0., help='单个task中每次请求后等待时间(s)')
parser.add_argument('-w', '--wait', type=float, default=0.1, help='单个task中每次请求后等待时间(s)')
parser.add_argument('-we', '--wait-epoch', type=float, default=30, help='每次循环后等待时间(s)')
parser.add_argument('-p', '--print', type=str, default='n', help='是否打印报文(y/n)')
return parser.parse_args()
Expand Down

0 comments on commit ba514d4

Please sign in to comment.