From 17331339569504f2690266b2a57da06a209f0159 Mon Sep 17 00:00:00 2001 From: mfw78 Date: Sun, 8 Oct 2023 07:56:41 +0000 Subject: [PATCH] fix: remove duplicate polling --- src/domain/checkForAndPlaceOrder.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/domain/checkForAndPlaceOrder.ts b/src/domain/checkForAndPlaceOrder.ts index 88032ef..0961500 100644 --- a/src/domain/checkForAndPlaceOrder.ts +++ b/src/domain/checkForAndPlaceOrder.ts @@ -273,19 +273,6 @@ async function _processConditionalOrder( pollingOnChainDurationSeconds, pollingOnChainChecksTotal ); - const timer = pollingOnChainDurationSeconds - .labels(...metricLabels) - .startTimer(); - pollResult = await _pollLegacy( - context, - owner, - conditionalOrder, - proof, - offchainInput, - orderRef - ); - timer(); - totalPollingOnChainChecks.labels(...metricLabels).inc(); } // Error polling