rustprooflabs / pgosm-flex

PgOSM Flex provides high quality OpenStreetMap datasets in PostGIS (Postgres) using the osm2pgsql Flex output.
MIT License
100 stars 20 forks source link

Env var PGOSM_REPLICATION is set but unused #367

Closed rustprooflabs closed 10 months ago

rustprooflabs commented 10 months ago

The only use of the PGOSM_REPLICATION env var I can find is the setting and unsetting of the variable. It should be removed.

    if replication:
        os.environ['PGOSM_REPLICATION'] = 'true'
    else:
        os.environ['PGOSM_REPLICATION'] = 'false'