Skip to content

Commit

Permalink
fix(db): revert use_new_connection=True
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein committed Jan 9, 2025
1 parent 5b15006 commit 12da0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datachain/data_storage/warehouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def dataset_select_paginated(
num_yielded = 0

# Ensure we're using a thread-local connection
with self.clone(use_new_connection=True) as wh:
with self.clone() as wh:
while True:
if limit is not None:
limit -= num_yielded
Expand Down

0 comments on commit 12da0c9

Please sign in to comment.