feature(daemon): added api renewal & calculated sleep time

This commit is contained in:
Jef Roosens 2022-04-30 10:40:29 +02:00
parent 11ac3c0470
commit a1c308f29d
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 49 additions and 17 deletions

View file

@ -11,8 +11,9 @@ pub:
address string
base_image string = 'archlinux:base-devel'
max_concurrent_builds int = 1
api_update_frequency int = 60
global_schedule string
api_update_frequency int = 15
// Replicates the behavior of the original cron system
global_schedule string = '0 3'
}
// cmd returns the cli module that handles the cron daemon.