Improved perfs
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ func main() {
|
||||
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
|
||||
defer stop()
|
||||
|
||||
brk := broker.New(ctx, log)
|
||||
brk := broker.New(ctx, log, broker.WithMaxUpdateRate(cfg.Server.MaxUpdateRateHz))
|
||||
|
||||
// Stub data source: built-in simulated signals (sine, ramp, noise, setpoint).
|
||||
// Enabled by default; disable via [datasource.stub] enabled = false in config.
|
||||
|
||||
Reference in New Issue
Block a user