diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2016-08-11 11:34:47 -0300 |
---|---|---|
committer | drebs <drebs@leap.se> | 2016-12-12 09:11:58 -0200 |
commit | ffe15f154541b6f929c569caf07560d117ad5efa (patch) | |
tree | b83b78dd5a59320abe04515732d9ccdd773f539c /server | |
parent | 81f97ec532a13dc57bf23a44dab3d44d12cc2ba4 (diff) |
[feature] use transactions on sync
We were using 1 transaction per doc, which is bad.
Reference:
http://stackoverflow.com/questions/1711631/improve-insert-per-second-performance-of-sqlite
Code now uses 1 transaction for the whole sync.
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions