mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-12 04:55:39 +08:00
update the ticker that triggers DEP sync events (#123)
the new time is every 30 minutes
This commit is contained in:
@@ -84,7 +84,7 @@ func isCursorExhausted(err error) bool {
|
||||
}
|
||||
|
||||
func (w *watcher) Run() error {
|
||||
ticker := time.NewTicker(10 * time.Second).C
|
||||
ticker := time.NewTicker(30 * time.Minute).C
|
||||
FETCH:
|
||||
for {
|
||||
resp, err := w.client.FetchDevices(dep.Limit(100), dep.Cursor(w.conf.Cursor.Value))
|
||||
|
||||
Reference in New Issue
Block a user