def METHOD_NAME(task_queue: RedisHuey):
    if task_queue is None:
        return constants.BGJOB_QUEUE_ID_UNKNOWN
    elif task_queue.name == long_running.name:
        return constants.BGJOB_QUEUE_ID_LONG
    elif task_queue.name == main_queue.name:
        return constants.BGJOB_QUEUE_ID_MAIN
    else:
        app.logger.warning(f'unknown task_queue[{task_queue}]')
        return constants.BGJOB_QUEUE_ID_UNKNOWN