Skip to content

Conversation

@tias77
Copy link

@tias77 tias77 commented Mar 23, 2020

When running NIPAP with docker complose, the database is a bit of a slow starter.
This PR adds logic for nipapd to retry connecting to db.

Mathias Wolkert and others added 2 commits March 22, 2020 09:09
continue
raise NipapDatabaseMissingExtensionError("hstore extension not found in the database")
# retry if database is not ready (docker friendly)
if re.search("could not connect to server: Connection refused", unicode(exc)):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'unicode' may be undefined, or defined from star imports: errors
line too long (94 > 79 characters)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants