feat(config): add savepoint interval config

This commit is contained in:
2024-11-30 02:18:44 +03:30
parent 8f4cb093b1
commit e95634c942
3 changed files with 9 additions and 5 deletions

View File

@@ -1,10 +1,13 @@
package config
import "time"
type JobDef struct {
Key string `yaml:"key"`
Name string `yaml:"name"`
EntryClass string `yaml:"entryClass"`
JarURI string `yaml:"jarURI"`
Key string `yaml:"key"`
Name string `yaml:"name"`
EntryClass string `yaml:"entryClass"`
JarURI string `yaml:"jarURI"`
SavepointInterval time.Duration `yaml:"savepointInterval"`
}
type Config struct {