This triggers exactly every 4 hours but not on round timestamps.
Details
Details
- Reviewers
olasd - Group Reviewers
System administrators - Commits
- rSPSITE089b64ba3921: Update scheduler metrics every 4 hours
octo-diff: on scheduler nodes (saatchi, scheduler0.staging), the period is increased
accordingly:
******************************************* Systemd::Timer[swh-scheduler-update-metrics.timer] => parameters => timer_content => @@ -3,6 +3,8 @@ _ [Timer] -OnCalendar=daily Unit=swh-scheduler-update-metrics.service +OnCalendar=00/4:00 +RandomizedDelaySec=1h +FixedRandomDelay=true _ [Unit] ******************************************* Systemd::Unit_file[swh-scheduler-update-metrics.timer] => parameters => content => @@ -3,6 +3,8 @@ _ [Timer] -OnCalendar=daily Unit=swh-scheduler-update-metrics.service +OnCalendar=00/4:00 +RandomizedDelaySec=1h +FixedRandomDelay=true _ [Unit] *******************************************
Diff Detail
Diff Detail
- Repository
- rSPSITE puppet-swh-site
- Branch
- staging
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 23261 Build 36296: arc lint + arc unit
Event Timeline
Comment Actions
I'll try to randomize this a bit more.
site-modules/profile/templates/swh/deploy/scheduler/swh-scheduler-update-metrics.timer.erb | ||
---|---|---|
5 | as olasd suggested to me. |
Comment Actions
What about FixedRandomDelay=true ? I think it makes sense to have this running every four hours exactly, rather than every 4 hours +/- 1 hour.