Skip to content

Commit bcbfaeb

Browse files
authored
Do not hardcode default hb alert timeout (#222)
1 parent 6144ff0 commit bcbfaeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alertaclient/commands/cmd_heartbeats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@click.command('heartbeats', short_help='List heartbeats')
1111
@click.option('--alert', is_flag=True, help='Alert on stale or slow heartbeats')
1212
@click.option('--severity', '-s', metavar='SEVERITY', default='major', help='Severity for stale heartbeat alerts')
13-
@click.option('--timeout', metavar='SECONDS', default=86000, type=int, help='Seconds before stale heartbeat alerts will be expired')
13+
@click.option('--timeout', metavar='SECONDS', type=int, help='Seconds before stale heartbeat alerts will be expired')
1414
@click.option('--purge', is_flag=True, help='Delete all stale heartbeats')
1515
@click.pass_obj
1616
def cli(obj, alert, severity, timeout, purge):

0 commit comments

Comments
 (0)