Skip to content

Commit

Permalink
Fix initializing stats collector
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Dec 18, 2024
1 parent 0e4e260 commit 775f2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailroom.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ type Mailroom struct {
// NewMailroom creates and returns a new mailroom instance
func NewMailroom(config *runtime.Config) *Mailroom {
mr := &Mailroom{
rt: &runtime.Runtime{Config: config},
rt: &runtime.Runtime{Config: config, Stats: runtime.NewStatsCollector()},
quit: make(chan bool),
wg: &sync.WaitGroup{},
}
Expand Down

0 comments on commit 775f2ad

Please sign in to comment.