Configurable RoomService execution timeout (#1206)

* API execution timeout is now configurable

In certain environments, it can take longer than the default 2s to
fully execute API requests. Making execution timeout a configurable option.

* do not expose api to YAML. internal for now.
This commit is contained in:
David Zhao
2022-12-04 10:13:09 -08:00
committed by GitHub
parent d146ec7a1f
commit 12ae179be2
6 changed files with 44 additions and 25 deletions
+1
View File
@@ -37,6 +37,7 @@ func InitializeServer(conf *config.Config, currentNode routing.LocalNode) (*Live
createClientConfiguration,
routing.CreateRouter,
getRoomConf,
config.DefaultAPIConfig,
wire.Bind(new(routing.MessageRouter), new(routing.Router)),
wire.Bind(new(livekit.RoomService), new(*RoomService)),
telemetry.NewAnalyticsService,