Skip to content

Commit ab8560d

Browse files
committed
work on flake manager
1 parent 510ffbb commit ab8560d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/notifications/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ func (m *Manager) Run(ctx context.Context) {
141141
m.log.Info(ctx, "started")
142142

143143
m.runOnce.Do(func() {
144+
m.notifier = newNotifier(ctx, m.cfg, uuid.New(), m.log, m.store, m.handlers, m.helpers, m.metrics, m.clock)
144145
// Closes when Stop() is called or context is canceled.
145146
go func() {
146-
m.notifier = newNotifier(ctx, m.cfg, uuid.New(), m.log, m.store, m.handlers, m.helpers, m.metrics, m.clock)
147147
err := m.loop(ctx)
148148
if err != nil {
149149
m.log.Error(ctx, "notification manager stopped with error", slog.Error(err))

0 commit comments

Comments
 (0)