SQLite Initial Implementation

This is the first, most basic implementation of a SQLite database for caching.
Future commits will make it much more optimized and able to efficiently store data for periods longer than 8 days.
This commit is contained in:
MassiveBox 2022-12-07 17:54:46 +01:00
parent 6dc8fa3750
commit e9125b783c
6 changed files with 56 additions and 33 deletions

View file

@ -20,7 +20,7 @@ func main() {
cr := cron.New()
_, err = cr.AddFunc("@hourly", config.updateCache)
if err != nil {
return
log.Fatal(err)
}
cr.Start()
config.updateCache()