Add proper "retry" support for basic postgres restart
This commit is contained in:
parent
b0a52dcec2
commit
9294d95ffb
2 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,9 @@ def main(global_config, **settings):
|
|||
"""
|
||||
This function returns a Pyramid WSGI application.
|
||||
"""
|
||||
# set some defaults for postgres
|
||||
app.provide_postgresql_settings(settings)
|
||||
|
||||
# prefer demo templates over tailbone
|
||||
settings.setdefault('mako.directories', ['rattail_demo.web:templates',
|
||||
'tailbone:templates',])
|
||||
|
|
3
setup.py
3
setup.py
|
@ -43,6 +43,9 @@ requires = [
|
|||
#
|
||||
# package # low high
|
||||
|
||||
# TODO: can remove this once tailbone requires it
|
||||
'pyramid_retry', # 1.0
|
||||
|
||||
'invoke', # 0.22.1
|
||||
'psycopg2', # 2.6.2
|
||||
'rattail-corepos', # 0.1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue