| Index: infra_libs/event_mon/config.py
|
| diff --git a/infra_libs/event_mon/config.py b/infra_libs/event_mon/config.py
|
| index 1c62ad24c07ac7d3fe3cb40271d0fbad8b00323f..e91545668922fcd1d3498a7c76489d2b8f6dc8b9 100644
|
| --- a/infra_libs/event_mon/config.py
|
| +++ b/infra_libs/event_mon/config.py
|
| @@ -64,9 +64,9 @@ def add_argparse_options(parser):
|
| help="Directory containing service accounts credentials.\n"
|
| "Defaults to %(default)s"
|
| )
|
| - group.add_argument('--event-mon-http-timeout', default=10,
|
| + group.add_argument('--event-mon-http-timeout', default=10, type=int,
|
| help='Timeout in seconds for HTTP requests to send events')
|
| - group.add_argument('--event-mon-http-retry-backoff', default=2.,
|
| + group.add_argument('--event-mon-http-retry-backoff', default=2., type=float,
|
| help='Time in seconds before retrying POSTing to the HTTP '
|
| 'endpoint. Randomized exponential backoff is applied on '
|
| 'subsequent retries.')
|
|
|