Skip to content

Commit

Permalink
fix: remove duplicate polling
Browse files Browse the repository at this point in the history
  • Loading branch information
mfw78 committed Oct 9, 2023
1 parent 60250e4 commit 1733133
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/domain/checkForAndPlaceOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1733133

Please sign in to comment.