Use http agents for hook requests (#4791)
This commit is contained in:
committed by
Florent Vilmart
parent
32d8c36ff5
commit
82fb06f9c9
@@ -149,9 +149,10 @@ export function getDatabaseController(options: ParseServerOptions, cacheControll
|
||||
export function getHooksController(options: ParseServerOptions, databaseController: DatabaseController): HooksController {
|
||||
const {
|
||||
appId,
|
||||
webhookKey
|
||||
webhookKey,
|
||||
hookKeepAlive,
|
||||
} = options;
|
||||
return new HooksController(appId, databaseController, webhookKey);
|
||||
return new HooksController(appId, databaseController, webhookKey, hookKeepAlive);
|
||||
}
|
||||
|
||||
interface PushControlling {
|
||||
@@ -228,4 +229,3 @@ export function getDatabaseAdapter(databaseURI, collectionPrefix, databaseOption
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user