kaijianding opened a new issue #11425: URL: https://github.com/apache/druid/issues/11425
Occasionally, I noticed SqlResource's constructor is called many times due to SqlResource is not LazySingleton. But BrokerQueryResource is LazySingleton. In CliBroker: `binder.bind(BrokerQueryResource.class).in(LazySingleton.class);Jerseys.addResource(binder, BrokerQueryResource.class);` In SqlHttpModule: only `Jerseys.addResource(binder, SqlResource.class);` Any reason why SqlResource can't be LazySingleton? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
