Skip to content

Commit

Permalink
bot: initalize the eventlogger when not running in orchestrator mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jogramming committed Nov 25, 2018
1 parent 036cf18 commit 9f0478e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bot/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ func SetupStandalone() {
}
totalShardCount = shardCount

EventLogger.init(shardCount)
go EventLogger.run()

processShards = make([]int, totalShardCount)
for i := 0; i < totalShardCount; i++ {
processShards[i] = i
Expand Down

0 comments on commit 9f0478e

Please sign in to comment.