generated from nathanwoodburn/go-webserver-template
feat: Reduce check intival to 1 min
All checks were successful
Build Docker / BuildSite (push) Successful in 1m8s
All checks were successful
Build Docker / BuildSite (push) Successful in 1m8s
This commit is contained in:
parent
e693e5c489
commit
263354b1fc
2
main.go
2
main.go
@ -181,7 +181,7 @@ func assetHandler(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func startTicker() {
|
func startTicker() {
|
||||||
ticker := time.NewTicker(10 * time.Second)
|
ticker := time.NewTicker(1 * time.Minute)
|
||||||
defer ticker.Stop()
|
defer ticker.Stop()
|
||||||
|
|
||||||
for range ticker.C {
|
for range ticker.C {
|
||||||
|
Loading…
Reference in New Issue
Block a user