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:
parent
67bd004d84
commit
dcd75f786c
4 changed files with 13 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue