Skip to content

Commit

Permalink
Merge pull request #216 from Uniswap/reenable-alt
Browse files Browse the repository at this point in the history
  • Loading branch information
ConjunctiveNormalForm authored Oct 24, 2023
2 parents a2a0ee0 + e50d7cb commit de60558
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/quoters/WebhookQuoter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import axios, { AxiosError, AxiosResponse } from 'axios';
import Logger from 'bunyan';
import { v4 as uuidv4 } from 'uuid';

import { Quoter, QuoterType } from '.';
import { Metric, metricContext, QuoteRequest, QuoteResponse } from '../entities';
import { WebhookConfiguration, WebhookConfigurationProvider } from '../providers';
import { CircuitBreakerConfigurationProvider } from '../providers/circuit-breaker';
import { Quoter, QuoterType } from '.';

// TODO: shorten, maybe take from env config
const WEBHOOK_TIMEOUT_MS = 500;
Expand All @@ -22,7 +22,7 @@ export class WebhookQuoter implements Quoter {
_log: Logger,
private webhookProvider: WebhookConfigurationProvider,
private circuitBreakerProvider: CircuitBreakerConfigurationProvider,
_allow_list: Set<string> = new Set<string>()
_allow_list: Set<string> = new Set<string>(['Altonomy'])
) {
this.log = _log.child({ quoter: 'WebhookQuoter' });
this.ALLOW_LIST = _allow_list;
Expand Down

0 comments on commit de60558

Please sign in to comment.