diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/config.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/config.go b/app/config.go index 96aea40..c848b9c 100644 --- a/app/config.go +++ b/app/config.go @@ -40,9 +40,14 @@ var CFG = config{ func ExecuteConfig() { go func() { + defer func() { + if r := recover(); r != nil { + recover() + } + }() for { Templates["instances.json"] = string(Download("https://git.macaw.me/skunky/SkunkyArt/raw/branch/master/instances.json").Body) - time.Sleep(1 * time.Hour) + time.Sleep(1 * time.Second) } }() |
