Skip to content

Commit

Permalink
set flush interval to 5 min and set fixed windoes buckets to 1 (#218)
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 May 13, 2021
1 parent f9765bb commit d33e9b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storey/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Table:
"""

def __init__(self, table_path: str, storage: Driver, partitioned_by_key: bool = True,
flush_interval_secs: Optional[int] = None, max_updates_in_flight: int = 8):
flush_interval_secs: Optional[int] = 300, max_updates_in_flight: int = 8):
self._container, self._table_path = _split_path(table_path)
self._storage = storage
self._partitioned_by_key = partitioned_by_key
Expand Down
2 changes: 1 addition & 1 deletion storey/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from urllib.parse import urlparse
import fsspec

bucketPerWindow = 10
bucketPerWindow = 1
schema_file_name = '.schema'


Expand Down

0 comments on commit d33e9b1

Please sign in to comment.