Files
livekit/pkg/config
Martin Njalale d2d89011e2 config: parse generated duration flags as durations (#4939)
GenerateCLIFlags created an Int64Flag for every time.Duration config
field. Setting one through its LIVEKIT_* env var or --flag with a
duration string such as "30s" (the format the YAML config and the
generated help text use) made the server exit at startup with a parse
error. A value without a unit was accepted and read as nanoseconds.

Use a DurationFlag for these fields, so they take the same values as in
the YAML config.
2026-10-05 16:48:16 +05:30
..