@Override
    public void removeTaskFromLimit(TaskModel task) {
        try {
            Monitors.recordDaoRequests(
                    CLASS_NAME, "removeTaskFromLimit", task.getTaskType(), task.getWorkflowType());
            String taskId = task.getTaskId();
            String taskDefName = task.getTaskDefName();

            String keyName = createKeyName(taskDefName);

            stringRedisTemplate.opsForSet().remove(keyName, taskId);

            LOGGER.debug("Removed taskId: {} from key: {}", taskId, keyName);
        } catch (Exception e) {
            Monitors.error(CLASS_NAME, "removeTaskFromLimit");
            String errorMsg =
                    String.format(
                            "Error updating taskDefLimit for task - %s:%s in workflow: %s",
                            task.getTaskDefName(), task.getTaskId(), task.getWorkflowInstanceId());
            LOGGER.error(errorMsg, e);
            throw new TransientException(errorMsg, e);
        }
    }
Remove the {@link TaskModel} identifier from the Redis Set for the {@link TaskDef}'s name.

@param task The {@link TaskModel} object.
redis-concurrency-limit/src/main/java/com/netflix/conductor/redis/limit/RedisConcurrentExecutionLimitDAO.java