72-pull-rate-in-configuration

- Added pull rate to configuration (finally) so this can
be modified by an administrator.
This commit is contained in:
Tim Beatham
2023-12-31 12:44:50 +00:00
parent 9e1058e0f2
commit fd29af73e3
15 changed files with 138 additions and 27 deletions

View File

@@ -14,5 +14,5 @@ func syncFunction(syncer Syncer) lib.TimerFunc {
}
func NewSyncScheduler(s *ctrlserver.MeshCtrlServer, syncRequester SyncRequester, syncer Syncer) *lib.Timer {
return lib.NewTimer(syncFunction(syncer), s.Conf.SyncRate)
return lib.NewTimer(syncFunction(syncer), s.Conf.SyncTime)
}