Skip to content

Commit

Permalink
Change StreamTarget batch size to 1 (#271)
Browse files Browse the repository at this point in the history
Co-authored-by: Dina Nimrodi <[email protected]>
  • Loading branch information
dinal and Dina Nimrodi authored Jul 22, 2021
1 parent 952f4f2 commit c588b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storey/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ class StreamTarget(Flow, _Writer):
:type storage_options: dict
"""

def __init__(self, storage: Driver, stream_path: str, sharding_func: Optional[Callable[[Event], int]] = None, batch_size: int = 8,
def __init__(self, storage: Driver, stream_path: str, sharding_func: Optional[Callable[[Event], int]] = None, batch_size: int = 1,
columns: Optional[List[str]] = None, infer_columns_from_data: Optional[bool] = None, **kwargs):
kwargs['stream_path'] = stream_path
kwargs['batch_size'] = batch_size
Expand Down

0 comments on commit c588b2f

Please sign in to comment.