mirror of
https://github.com/knadh/listmonk.git
synced 2024-12-26 00:42:58 +08:00
Remove redundant campaign manager config validations (#2095)
This commit is contained in:
parent
9bad699a5c
commit
4eefd4215e
1 changed files with 0 additions and 7 deletions
|
@ -485,13 +485,6 @@ func initCampaignManager(q *models.Queries, cs *constants, app *App) *manager.Ma
|
|||
return app.sendNotification(cs.NotifyEmails, subject, notifTplCampaign, data)
|
||||
}
|
||||
|
||||
if ko.Int("app.concurrency") < 1 {
|
||||
lo.Fatal("app.concurrency should be at least 1")
|
||||
}
|
||||
if ko.Int("app.message_rate") < 1 {
|
||||
lo.Fatal("app.message_rate should be at least 1")
|
||||
}
|
||||
|
||||
if ko.Bool("passive") {
|
||||
lo.Println("running in passive mode. won't process campaigns.")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue