feat: add option for delaying task get requests
All checks were successful
release-tag / release (push) Successful in 2m3s

This commit is contained in:
2023-07-14 03:19:16 +03:00
parent 5a40fb593c
commit 5f60eb8752
3 changed files with 16 additions and 8 deletions

View File

@ -289,7 +289,7 @@ func main() {
satiConfig.Debug = cfg.Debug
satiApi := sati.NewApi(satiConfig)
registry := api.NewTaskRegistry(satiApi, time.Minute)
registry := api.NewTaskRegistry(satiApi, cfg)
ctx := api.ApiContext{
Config: cfg,