mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 12:53:13 +03:00
Improved MentionSendingService timeout
no issue The current timeouts were unreliable.
This commit is contained in:
parent
8895d22602
commit
8c9893e568
@ -70,14 +70,7 @@ module.exports = class MentionSendingService {
|
||||
maxRedirects: 10,
|
||||
followRedirect: true,
|
||||
methodRewriting: false, // WARNING! this setting has a different meaning in got v12!
|
||||
timeout: {
|
||||
lookup: 200,
|
||||
connect: 200,
|
||||
secureConnect: 200,
|
||||
socket: 1000,
|
||||
send: 5000,
|
||||
response: 1000
|
||||
}
|
||||
timeout: 10000
|
||||
});
|
||||
if (response.statusCode >= 200 && response.statusCode < 300) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user