Skip to content

Commit

Permalink
Check things more often, increaes TTL
Browse files Browse the repository at this point in the history
  • Loading branch information
mishan committed Nov 16, 2016
1 parent b4acc3b commit 36156fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions red53_agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"time"
)

const checkInterval = 5 * time.Minute // how often to check Redis
const defaultTTL = 60 // seconds
const checkInterval = 1 * time.Minute // how often to check Redis
const defaultTTL = 300 // seconds
const fetchLast = 300 // seconds

var DNSName = "servicediscovery.local"
Expand Down

0 comments on commit 36156fc

Please sign in to comment.