File size: 262 Bytes
097eaf0
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import CacheableLookup from "cacheable-lookup";
import dns from "dns";

import { config } from "../../../config";
export const cacheableLookup =
  config.SENTRY_ENVIRONMENT === "dev"
    ? { lookup: dns.lookup, install: () => {} }
    : new CacheableLookup({});