options

package
v0.3.10-0-alpha2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 1 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OnOptionsChange

func OnOptionsChange(oldO, newO interface{}) bool

Types

type NotifyOption

type NotifyOption struct {
	common_options.CommonOptions
	common_options.DBOptions

	SocketFileDir  string `help:"Socket file directory" default:"/etc/yunion/socket"`
	UpdateInterval int    `help:"Update send services interval(unit:min)" default:"30"`

	ReSendScope  int `help:"Resend all messages that have not been sent successfully within ReSendScope seconds" default:"60"`
	MaxSendTimes int `help:"Resend all messages whose sendTimes less than MaxSendTimes" default:"2"`

	InitNotificationScope int `help:"initialize data of notification with in InitNotificationScope hours" default:"100"`
	MaxSyncNotification   int `help:"The max number of notification sync from old data source" default:"1000"`

	VerifyExpireInterval int `help:"expire interval of verify message; minutes" default:"2"`
	VerifyValidInterval  int `help:"valid interval of verify message; miniutes" default:"20"`
}
var Options NotifyOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL