Skip to content

Commit

Permalink
feat: scheduler init jitter
Browse files Browse the repository at this point in the history
  • Loading branch information
kwasniew committed Jan 30, 2024
1 parent 794ecfb commit 16812e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/features/scheduler/scheduler-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { IMaintenanceStatus } from '../maintenance/maintenance-service';
import { SCHEDULER_JOB_TIME } from '../../metric-events';

// returns between min and max seconds in ms
// when schedule interval is smaller than max then no jitter
// when schedule interval is smaller than min jitter then no jitter
function randomJitter(
minMs: number,
maxMs: number,
Expand Down

0 comments on commit 16812e0

Please sign in to comment.