From 8b8f865693fae28252632a4cf10cf6b37e9a2475 Mon Sep 17 00:00:00 2001 From: Jason Nichols Date: Thu, 18 Apr 2024 12:43:24 -0400 Subject: [PATCH] Fix for PROD-10053, stop discovery individual tasks as it's not being consumed downstream --- .../magpie/plugins/gcp/discovery/services/TasksDiscovery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magpie-gcp/src/main/java/io/openraven/magpie/plugins/gcp/discovery/services/TasksDiscovery.java b/magpie-gcp/src/main/java/io/openraven/magpie/plugins/gcp/discovery/services/TasksDiscovery.java index 5792e576..5f0867ee 100644 --- a/magpie-gcp/src/main/java/io/openraven/magpie/plugins/gcp/discovery/services/TasksDiscovery.java +++ b/magpie-gcp/src/main/java/io/openraven/magpie/plugins/gcp/discovery/services/TasksDiscovery.java @@ -95,7 +95,7 @@ public void discover(ObjectMapper mapper, String projectId, Session session, Emi .withConfiguration(GCPUtils.asJsonNode(element)) .build(); - discoverTasks(cloudTasksClient, element, data); +// discoverTasks(cloudTasksClient, element, data); // See PROD-10053 (OOM) emitter.emit(VersionedMagpieEnvelopeProvider.create(session, List.of(fullService() + ":queue"), data.toJsonNode())); }