Increase mapping timeout

This commit is contained in:
Douglas Barone 2021-12-21 15:14:43 -04:00
parent ccead16333
commit ceb68afe04

View File

@ -12,7 +12,7 @@ import { performance } from 'perf_hooks'
import prisma from '../prisma'
const TIMEOUT_IN_MINUTES = '3'
const TIMEOUT_IN_MINUTES = process.env.MAPPING_TIMEOUT || '720' // 12 horas
const CIDR_RE = /^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))?$/
const httpsAgent = new https.Agent({