Skip to content

Commit

Permalink
write correct map
Browse files Browse the repository at this point in the history
  • Loading branch information
abelanger5 committed Aug 20, 2024
1 parent 6a6fa0f commit 895795b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/controllers/jobs/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ func (jc *JobsControllerImpl) runStepRunTimeout(ctx context.Context) func() {
func (ec *JobsControllerImpl) runStepRunTimeoutTenant(ctx context.Context, tenantId string) error {
// we want only one requeue running at a time for a tenant
if _, ok := ec.timeoutMutexes.Load(tenantId); !ok {
ec.reassignMutexes.Store(tenantId, &sync.Mutex{})
ec.timeoutMutexes.Store(tenantId, &sync.Mutex{})
}

muInt, _ := ec.timeoutMutexes.Load(tenantId)
Expand Down

0 comments on commit 895795b

Please sign in to comment.