Weighs the soul of incoming HTTP requests to stop AI crawlers

fix(lib/store/bbolt): run cleanup every hour instead of every 5 minutes (#762)

Signed-off-by: Xe Iaso <me@xeiaso.net>

authored by Xe Iaso and committed by GitHub 6fa5b8e4 f98750b0

Changed files
+2 -1
docs
lib
store
bbolt
+1
docs/docs/CHANGELOG.md
··· 28 28 - Add option for forcing a specific language ([#742](https://github.com/TecharoHQ/anubis/pull/742)) 29 29 - Add translation for Turkish language ([#751](https://github.com/TecharoHQ/anubis/pull/751)) 30 30 - Allow [Common Crawl](https://commoncrawl.org/) by default so scrapers have less incentive to scrape 31 + - The [bbolt storage backend](./admin/policies.mdx#bbolt) now runs its cleanup every hour instead of every five minutes. 31 32 32 33 ### Potentially breaking changes 33 34
+1 -1
lib/store/bbolt/bbolt.go
··· 151 151 } 152 152 153 153 func (s *Store) cleanupThread(ctx context.Context) { 154 - t := time.NewTicker(5 * time.Minute) 154 + t := time.NewTicker(time.Hour) 155 155 defer t.Stop() 156 156 157 157 for {