Skip to content

Commit

Permalink
Remove redundant campaign manager config validations (#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinandkakkadi authored Oct 27, 2024
1 parent 9bad699 commit 4eefd42
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
}
Expand Down

0 comments on commit 4eefd42

Please # to comment.