diff --git a/birdwatcher.go b/birdwatcher.go index bb6d7ca..8f4de3f 100644 --- a/birdwatcher.go +++ b/birdwatcher.go @@ -156,7 +156,9 @@ func main() { // Configuration bird.ClientConf = birdConf bird.StatusConf = conf.Status + bird.RateLimitConf.Lock() bird.RateLimitConf.Conf = conf.Ratelimit + bird.RateLimitConf.Unlock() bird.ParserConf = conf.Parser endpoints.Conf = conf.Server