Skip to content

Commit

Permalink
Fixes #4844
Browse files Browse the repository at this point in the history
  • Loading branch information
afabiani committed Sep 8, 2019
1 parent 6f05643 commit c2c33a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
if 'CONN_TOUT' in DATABASES['default']:
_geo_db['CONN_TOUT'] = 5
if 'postgresql' in GEODATABASE_URL or 'postgis' in GEODATABASE_URL:
_geo_db['OPTIONS'] = DATABASES['default'] if 'OPTIONS' in DATABASES['default'] else {}
_geo_db['OPTIONS'] = DATABASES['default']['OPTIONS'] if 'OPTIONS' in DATABASES['default'] else {}
_geo_db['OPTIONS'].update({
'connect_timeout': 5,
})
Expand Down

0 comments on commit c2c33a4

Please sign in to comment.