Mercurial > libervia-backend
comparison src/memory/memory.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 | 1bb9bf1b4150 |
children | 8b37a62336c3 |
comparison
equal
deleted
inserted
replaced
2356:6084aa557425 | 2357:fa43e285df1d |
---|