summaryrefslogtreecommitdiff
path: root/scripts/db_access/client_side_db.py
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2016-09-22 05:03:59 -0300
committerdrebs <drebs@leap.se>2016-12-12 09:11:59 -0200
commit32d73ec50d6147d2511d6679bb12c17dc01210e4 (patch)
tree22e8a7ad38e51ff8725946947007ad216d04fec6 /scripts/db_access/client_side_db.py
parent9ea98145abd130227b33d691b82dbcca76ef70de (diff)
[feature] batch based on payload size
batch is slower than usual insert for a single doc, so, if a document exceeds the buffer, commit the batch (if any) and put the huge load by traditional insert. refactor coming.
Diffstat (limited to 'scripts/db_access/client_side_db.py')
0 files changed, 0 insertions, 0 deletions