diff --git a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java index a50753c0348..4460ce47224 100644 --- a/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java +++ b/server/jetty/src/main/java/io/deephaven/server/jetty/JettyServerModule.java @@ -15,6 +15,7 @@ import io.grpc.servlet.jakarta.ServletServerBuilder; import javax.inject.Named; +import javax.inject.Singleton; import java.io.IOException; import java.io.UncheckedIOException; import java.util.Set; @@ -71,6 +72,7 @@ static ServletAdapter provideGrpcServletAdapter( JsPluginRegistration bindJsPlugins(JsPlugins plugins); @Provides + @Singleton static JsPlugins providesJsPluginRegistration() { try { return JsPlugins.create();