Added delay for client status ok message

This commit is contained in:
2021-09-17 17:35:08 +02:00
parent 9964093b03
commit 73f8698ad7
4 changed files with 9 additions and 4 deletions

View File

@@ -18,6 +18,7 @@ func Load() {
},
GeneralOptions: GeneralOptions{
DelayBetweenMassages: int64(getEnvInt("MASSAGE_DELAY", 120000000000)),
StatusMessageDelay: getEnvInt("STATUS_MASSAGE_DELAY", 10),
},
}
}

View File

@@ -22,4 +22,5 @@ type Credentials struct {
// GeneralOptions contains information for general configuration options
type GeneralOptions struct {
DelayBetweenMassages int64
StatusMessageDelay int
}