We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e280ca commit 62fa3b0Copy full SHA for 62fa3b0
cli/server.go
@@ -821,12 +821,6 @@ func (r *RootCmd) Server(newAPI func(context.Context, *coderd.Options) (*coderd.
821
return err
822
}
823
824
- // TODO: Throw a caching layer infront of the RuntimeConfig to prevent
825
- // excessive database queries.
826
- // Note: This happens before dbauthz, which is really unfortunate.
827
- // dbauthz is configured in `Coderd.New()`, but we need the manager
828
- // at this level for notifications. We might have to move some init
829
- // code around.
830
options.RuntimeConfig = runtimeconfig.NewStoreManager()
831
832
// This should be output before the logs start streaming.
0 commit comments