decrease check frequency

This commit is contained in:
Mya 2022-12-21 09:47:08 -06:00
parent 29de39b130
commit 3a545d7125
No known key found for this signature in database
GPG Key ID: C3ECFA648DAD27FA

View File

@ -141,7 +141,7 @@ func (e *Endpoint) Lookup(w http.ResponseWriter, r *http.Request) {
func (e *Endpoint) SyncLoop(ctx context.Context) error { func (e *Endpoint) SyncLoop(ctx context.Context) error {
clock := clocks.Extract(ctx) clock := clocks.Extract(ctx)
timer := clock.NewTicker(time.Second) timer := clock.NewTicker(30 * time.Second)
defer timer.Stop() defer timer.Stop()
keys := make([]string, 0, len(e.sites)) keys := make([]string, 0, len(e.sites))