Skip to content

Commit

Permalink
[phoenix] Avoid error when opening up Editor after 1 hour
Browse files Browse the repository at this point in the history
  • Loading branch information
romainr committed Feb 6, 2021
1 parent 68e56ff commit 5cd2d31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def _create_engine(self):
options.pop('has_impersonation', None)
options.pop('ssh_server_host', None)

options['pool_pre_ping'] = True
options['pool_pre_ping'] = not url.startswith('phoenix://') # Should be moved to dialect when connectors always on

return create_engine(url, **options)

Expand Down

0 comments on commit 5cd2d31

Please sign in to comment.