Skip to content

Commit

Permalink
fix: pass new context to run replay execute goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
Mryashbhardwaj committed Oct 23, 2024
1 parent b52a9f1 commit 14e1c30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/scheduler/service/replay_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (r *ReplayService) CreateReplay(ctx context.Context, t tenant.Tenant, jobNa
State: scheduler.ReplayStateCreated,
})

go r.executor.Execute(ctx, replayID, replayReq.Tenant(), jobName)
go r.executor.Execute(context.Background(), replayID, replayReq.Tenant(), jobName)

return replayID, nil
}
Expand Down

0 comments on commit 14e1c30

Please sign in to comment.