update the ticker that triggers DEP sync events (#123)

the new time is every 30 minutes
This commit is contained in:
Victor Vrantchan
2017-03-24 12:13:19 -04:00
committed by GitHub
parent de5b6b23a2
commit 2132963c8a

View File

@@ -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))