Mercurial > libervia-backend
annotate src/__init__.py @ 2357:fa43e285df1d
core (memory/sqlite): better stability:
- timeout increased to 15 s
- if a query fail, it's retried up to 5 times
- foreign key PRAGMA is executed on every new connection object (should fix non working foreign keys)
those are Q&D workarounds for issues with Sqlite, before switching to a higher level module to handle it correctly.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 21 Sep 2017 21:53:28 +0200 |
parents | 1128feb54180 |
children |
rev | line source |
---|---|
1935
1128feb54180
core: removed pyfeed and xe dependencies:
Goffi <goffi@goffi.org>
parents:
1470
diff
changeset
|
1 from .core.constants import Const as C |
1470
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
2 |
8bfbf5cb0e28
core: moved __version__ to __init__.py, so we can check version by doing "import sat;print(sat.__version__)"
Goffi <goffi@goffi.org>
parents:
224
diff
changeset
|
3 __version__ = C.APP_VERSION |