Skip to content

Commit

Permalink
fix for append in threaded mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzsnz committed May 8, 2024
1 parent 342bfe6 commit f8e2dfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pystore/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def append(self, item, data, npartitions=None, epochdate=False,
epochdate=epochdate, reload_items=reload_items, **kwargs)

try:
multitasking.wait_for_tasks()
self.delete_item(item=item,reload_items=False)
shutil.move(self._item_path(tmp_item),self._item_path(item))
self._list_items_threaded()
Expand Down

0 comments on commit f8e2dfd

Please sign in to comment.