We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f497e9b commit 259bd4bCopy full SHA for 259bd4b
langfuse/_client/environment_variables.py
@@ -83,7 +83,7 @@
83
"""
84
.. envvar:: LANGFUSE_FLUSH_INTERVAL
85
86
-Max delay until a new ingestion batch is sent to the API.
+Max delay in seconds until a new ingestion batch is sent to the API.
87
**Default value:** ``1``
88
89
langfuse/_client/span_processor.py
@@ -93,7 +93,9 @@ def __init__(
93
span_exporter=langfuse_span_exporter,
94
export_timeout_millis=timeout * 1_000 if timeout else None,
95
max_export_batch_size=flush_at,
96
- schedule_delay_millis=flush_interval,
+ schedule_delay_millis=flush_interval * 1_000
97
+ if flush_interval is not None
98
+ else None,
99
)
100
101
def on_end(self, span: ReadableSpan) -> None:
0 commit comments