Get all queued peers

def atlas_peer_dequeue_all( peer_queue=None ):
    """
    Get all queued peers
    """

    peers = []
    with AtlasPeerQueueLocked(peer_queue) as pq:
        while len(pq) > 0:
            peers.append( pq.pop(0) )

    return peers