From cc6ec3963a4b8c18615265f6119ed247158b4617 Mon Sep 17 00:00:00 2001 From: Ryan Tan Date: Thu, 25 Apr 2024 11:47:52 -0700 Subject: [PATCH] Update gremlin-server-integration.yaml --- .../conf/gremlin-server-integration.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gremlin-server/conf/gremlin-server-integration.yaml b/gremlin-server/conf/gremlin-server-integration.yaml index 20f532d3b63..d0394795083 100644 --- a/gremlin-server/conf/gremlin-server-integration.yaml +++ b/gremlin-server/conf/gremlin-server-integration.yaml @@ -18,7 +18,7 @@ host: 0.0.0.0 port: 45940 evaluationTimeout: 30000 -channelizer: org.apache.tinkerpop.gremlin.server.channel.HttpChannelizer +channelizer: org.apache.tinkerpop.gremlin.server.channel.WsAndHttpChannelizer graphs: { graph: conf/tinkergraph-service.properties, immutable: conf/tinkergraph-service.properties, @@ -38,16 +38,14 @@ scriptEngines: { org.apache.tinkerpop.gremlin.jsr223.ImportGremlinPlugin: {classImports: [java.lang.Math], methodImports: [java.lang.Math#*]}, org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin: {files: [scripts/generate-all.groovy]}}}} serializers: - - { className: org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV4 } - - { className: org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV4, config: { serializeResultToString: true }} - - { className: org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1, config: { serializeResultToString: true }} - - { className: org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV4, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV3] }} - { className: org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV3, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV3] }} - { className: org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV2, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV2] }} - { className: org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV1, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV1] }} -#processors: -# - { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config: { sessionTimeout: 28800000 }} -# - { className: org.apache.tinkerpop.gremlin.server.op.standard.StandardOpProcessor, config: {}} + - { className: org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1 } + - { className: org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1, config: { serializeResultToString: true }} +processors: + - { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config: { sessionTimeout: 28800000 }} + - { className: org.apache.tinkerpop.gremlin.server.op.standard.StandardOpProcessor, config: {}} metrics: { slf4jReporter: {enabled: true, interval: 180000}} gremlinPool: 8