1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Rename request timeout

This commit is contained in:
Chocobozzz 2021-03-03 10:10:55 +01:00
parent 67bd004d84
commit dcd75f786c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
4 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
import { ACTIVITY_PUB, JOB_REQUEST_TIMEOUT, WEBSERVER } from '../../initializers/constants'
import { ACTIVITY_PUB, REQUEST_TIMEOUT, WEBSERVER } from '../../initializers/constants'
import { doRequest } from '../../helpers/requests'
import { logger } from '../../helpers/logger'
import * as Bluebird from 'bluebird'
@ -16,7 +16,7 @@ async function crawlCollectionPage <T> (uri: string, handler: HandlerFunction<T>
uri,
json: true,
activityPub: true,
timeout: JOB_REQUEST_TIMEOUT
timeout: REQUEST_TIMEOUT
}
const startDate = new Date()