Skip to content

Commit 8ed0c5f

Browse files
committed
Remove PGOSM_REPLICATION env var
1 parent 22f94aa commit 8ed0c5f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

docker/helpers.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -140,11 +140,6 @@ def set_env_vars(region, subregion, srid, language, pgosm_date, layerset,
140140
# Connection to DB for admin purposes, e.g. drop/create main database
141141
os.environ['PGOSM_CONN_PG'] = db.connection_string(admin=True)
142142

143-
if replication:
144-
os.environ['PGOSM_REPLICATION'] = 'true'
145-
else:
146-
os.environ['PGOSM_REPLICATION'] = 'false'
147-
148143
pgosm_region = get_region_combined(region, subregion)
149144
logger.debug(f'PGOSM_REGION_COMBINED: {pgosm_region}')
150145

@@ -209,5 +204,4 @@ def unset_env_vars():
209204
os.environ.pop('PGOSM_LAYERSET', None)
210205
os.environ.pop('PGOSM_CONN', None)
211206
os.environ.pop('PGOSM_CONN_PG', None)
212-
os.environ.pop('PGOSM_REPLICATION', None)
213207
os.environ.pop('SCHEMA_NAME', None)

0 commit comments

Comments
 (0)