Added delay for client status ok message
This commit is contained in:
@@ -18,6 +18,7 @@ func Load() {
|
||||
},
|
||||
GeneralOptions: GeneralOptions{
|
||||
DelayBetweenMassages: int64(getEnvInt("MASSAGE_DELAY", 120000000000)),
|
||||
StatusMessageDelay: getEnvInt("STATUS_MASSAGE_DELAY", 10),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,4 +22,5 @@ type Credentials struct {
|
||||
// GeneralOptions contains information for general configuration options
|
||||
type GeneralOptions struct {
|
||||
DelayBetweenMassages int64
|
||||
StatusMessageDelay int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user