mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
ba7472d564
Summary: From sqlite manual: With synchronous OFF (0), SQLite continues without syncing as soon as it has handed data off to the operating system. If the application running SQLite crashes, the data will be safe, but the database might become corrupted if the operating system crashes or the computer loses power before that data has been written to the disk surface. On the other hand, commits can be orders of magnitude faster with synchronous OFF. I believe this is a proper tradeoff for dirstate as we can regenerate it easily if db becomes corrupted. Test Plan: tests are passing Reviewers: #mercurial, ttung, durham Subscribers: mjpieters Differential Revision: https://phabricator.intern.facebook.com/D3559167 |
||
---|---|---|
.. | ||
__init__.py | ||
sqldirstate.py | ||
sqlmap.py |