<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def __get_queue_opts(queue=None, backend=None):
    '''
    Get consistent opts for the queued runners
    '''
    if queue is None:
        queue = __opts__.get('runner_queue', {}).get('queue')
    if backend is None:
        backend = __opts__.get('runner_queue', {}).get('backend', 'pgjsonb')
    return {'backend': backend,
            'queue': queue}