trackerv2/server/server.py
async def send_missing_players_to_elasticsearch(conf, conn):
    r"""
    Synchronizes players from an existing database to Elasticsearch.

    Only updated players have information sent to ES. If a new cluster
    is added, it will not have all players in it as a result.
    """
    players = [p for p in create_generator_players_sync(
        await conn.fetch('SELECT * FROM players'))]
    for name, cluster in conf['elasticsearch']['clusters'].items():
        await _send_to_cluster_skip_errors(cluster, players)
r"""
    Synchronizes players from an existing database to Elasticsearch.

    Only updated players have information sent to ES. If a new cluster
    is added, it will not have all players in it as a result.
    
r"""
Synchronizes players from an existing database to Elasticsearch.

Only updated players have information sent to ES. If a new cluster
is added, it will not have all players in it as a result.
r " " " Synchronizes players from an existing database to Elasticsearch . Only updated players have information sent to ES . If a new cluster is added it will not have all players in it as a result .
async def send_missing_players_to_elasticsearch(conf, conn):
    players = [p for p in create_generator_players_sync(
        await conn.fetch('SELECT * FROM players'))]
    for name, cluster in conf['elasticsearch']['clusters'].items():
        await _send_to_cluster_skip_errors(cluster, players)
async def send_missing_players_to_elasticsearch ( conf , conn ) : players = [ p for p in create_generator_players_sync ( await conn . fetch ( 'SELECT * FROM players' ) ) ] for name , cluster in conf [ 'elasticsearch' ] [ 'clusters' ] . items ( ) : await _send_to_cluster_skip_errors ( cluster , players )
r"""
Synchronizes players from an existing database to Elasticsearch.
r " " " Synchronizes players from an existing database to Elasticsearch .
r"""
    Synchronizes players from an existing database to Elasticsearch.

    Only updated players have information sent to ES. If a new cluster
    is added, it will not have all players in it as a result.
    """
conf
conn