refactor: cron task

Signed-off-by: rfyiamcool <rfyiamcool@163.com>
pull/1331/head
rfyiamcool 2 years ago
parent 8442af889a
commit 30cf97a5a5
No known key found for this signature in database
GPG Key ID: EBA61C4D83B4DC5C

@ -232,6 +232,7 @@ type configStruct struct {
ChatRecordsClearTime string `yaml:"chatRecordsClearTime"`
MsgDestructTime string `yaml:"msgDestructTime"`
Secret string `yaml:"secret"`
EnableCronLocker bool `yaml:"enableCronLocker"`
TokenPolicy struct {
Expire int64 `yaml:"expire"`
} `yaml:"tokenPolicy"`

Loading…
Cancel
Save