Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

Commit ba0e0b8

Browse files
authored
Add files via upload
1 parent 367232b commit ba0e0b8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

multioptpy/Wrapper/mapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,12 +1028,12 @@ class ExploredPairsLog:
10281028
filepath : str
10291029
Absolute path to the text file used for persistence.
10301030
flush_interval : int
1031-
Number of records to batch before flushing to disk. Defaults to 100.
1031+
Number of records to batch before flushing to disk. Defaults to 5.
10321032
Higher values reduce I/O bottleneck but risk losing the latest
10331033
records if the process crashes unexpectedly.
10341034
"""
10351035

1036-
def __init__(self, filepath: str, flush_interval: int = 100) -> None:
1036+
def __init__(self, filepath: str, flush_interval: int = 5) -> None:
10371037
self._filepath = filepath
10381038
self._flush_interval = flush_interval
10391039
self._write_count = 0

0 commit comments

Comments
 (0)