diff --git a/statefun/runtime_config.go b/statefun/runtime_config.go index 6c78ecf..14cd2a1 100644 --- a/statefun/runtime_config.go +++ b/statefun/runtime_config.go @@ -108,8 +108,8 @@ func NewRuntimeConfig() *RuntimeConfig { kvStreamMaxMsgs: KVStreamMaxMsgs, kvStreamMaxBytes: KVStreamMaxBytes, kvStreamMaxAge: KVStreamMaxAge, - traceStreamMaxMsgs: int64(system.GetEnvMustProceed("TRACE_STREAM_MAX_BYTES", TraceStreamMaxMsgs)), - traceStreamMaxBytes: int64(system.GetEnvMustProceed("TRACE_STREAM_MAX_MSG", TraceStreamMaxBytes)), + traceStreamMaxMsgs: int64(system.GetEnvMustProceed("TRACE_STREAM_MAX_MSG", TraceStreamMaxMsgs)), + traceStreamMaxBytes: int64(system.GetEnvMustProceed("TRACE_STREAM_MAX_BYTES", TraceStreamMaxBytes)), traceStreamMaxAge: time.Duration(system.GetEnvMustProceed("TRACE_STREAM_MAX_AGE_HOURS", TraceStreamMaxAge)) * time.Hour, }