fix
This commit is contained in:
parent
fd2884e5a1
commit
704a920564
|
|
@ -97,7 +97,7 @@
|
|||
<%
|
||||
const allRetryGaps = [['5','5 seconds'],['15','15 seconds'],['30','30 seconds'],['60','1 minute'],['120','2 minutes'],['300','5 minutes']];
|
||||
const retryGaps = allRetryGaps.filter(([val]) => Number(val) >= minInterval);
|
||||
const defaultRetryGap = String(Math.max(30, minInterval));
|
||||
const defaultRetryGap = String(minInterval);
|
||||
const curRetryRaw = Number(monitor.retry_interval_s);
|
||||
const curRetry = (curRetryRaw >= minInterval) ? String(curRetryRaw) : defaultRetryGap;
|
||||
%>
|
||||
|
|
|
|||
Loading…
Reference in New Issue