added per set blocktime
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2022-06-04 11:32:56 +02:00
parent 9d70341f41
commit f854a3b219

View File

@ -132,12 +132,13 @@ type CfgZMQ struct {
} }
type CfgSet struct { type CfgSet struct {
ID int `xorm:"pk autoincr" json:"-"` ID int `xorm:"pk autoincr" json:"-"`
Path string `xorm:"text notnull default" json:"path"` Path string `xorm:"text notnull default" json:"path"`
Type string `xorm:"text notnull" json:"type"` Type string `xorm:"text notnull" json:"type"`
Filename string `xorm:"text notnull" json:"filename"` Filename string `xorm:"text notnull" json:"filename"`
Regex string `xorm:"text notnull" json:"regex"` Regex string `xorm:"text notnull" json:"regex"`
Enabled bool `xorm:"notnull default true" json:"-"` Blocktime int64 `xorm:"notnull default 60" json:"blocktime"`
Enabled bool `xorm:"notnull default true" json:"-"`
} }
type Cfg struct { type Cfg struct {