This commit is contained in:
Rain
2019-09-27 14:15:29 +08:00
parent 27b9211d63
commit e3ea4e3bb8
3 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -24,10 +24,10 @@ type NotifyOption struct {
DingtalkEnabled bool `help:"Enable dingtalk"`
SocketFileDir string `help:"Socket file directory" default:"/etc/yunion/notify"`
UpdateInterval int `help:"Update send services interval(unit:s)" default:30`
UpdateInterval int `help:"Update send services interval(unit:s)" default:"30"`
VerifyEmailUrl string `help:"url of verify email"`
ReSendScope int `help:"Resend all messages that have not been sent successfully within ReSendScope minutes"`
InitNotificationScope int `help:"initialize data of notification with in InitNotificationScope hours" default:100`
InitNotificationScope int `help:"initialize data of notification with in InitNotificationScope hours" default:"100"`
}
var Options NotifyOption