Skip to content

Commit

Permalink
chore: remove TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcuts committed Dec 16, 2024
1 parent 4a4031f commit 5a07fe6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions algoliasearch_django/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,9 @@ def update_records(self, qs, batch_size=1000, **kwargs):
tmp["objectID"] = elt
batch.append(dict(tmp))

# TODO: pass batch_size to partial_update_objects
if len(batch) > 0:
self.__client.partial_update_objects(
index_name=self.index_name, objects=batch, wait_for_tasks=True
index_name=self.index_name, objects=batch, wait_for_tasks=True, batch_size=batch_size,
)

def raw_search(self, query="", params=None):
Expand Down

0 comments on commit 5a07fe6

Please sign in to comment.