diff --git a/cuebot/src/main/java/com/imageworks/spcue/rqd/RqdClientGrpc.java b/cuebot/src/main/java/com/imageworks/spcue/rqd/RqdClientGrpc.java index 5d2677598..9c7f4d6a9 100644 --- a/cuebot/src/main/java/com/imageworks/spcue/rqd/RqdClientGrpc.java +++ b/cuebot/src/main/java/com/imageworks/spcue/rqd/RqdClientGrpc.java @@ -216,4 +216,11 @@ public void launchFrame(final RunFrame frame, final VirtualProc proc) { public void setTestMode(boolean testMode) { this.testMode = testMode; } + + public void shutdown() { + if (channelCache != null) { + logger.info("Shutting down RqdClientGrpc channel cache"); + channelCache.invalidateAll(); + } + } } diff --git a/cuebot/src/main/resources/conf/spring/applicationContext-service.xml b/cuebot/src/main/resources/conf/spring/applicationContext-service.xml index 5a42d4b8c..0c5fad6b6 100644 --- a/cuebot/src/main/resources/conf/spring/applicationContext-service.xml +++ b/cuebot/src/main/resources/conf/spring/applicationContext-service.xml @@ -36,7 +36,7 @@ - + ${grpc.rqd_server_port} @@ -66,7 +66,7 @@ - + ${booking_queue.threadpool.health_threshold} @@ -85,7 +85,7 @@ - + DispatchQueue @@ -107,7 +107,7 @@ - + ManageQueue @@ -128,7 +128,7 @@ - + ${report_queue.threadPoolSizeInitial} @@ -140,7 +140,7 @@ - + ${kill_queue.threadPoolSizeInitial}