mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed slow-running scheduling default test
refs https://github.com/TryGhost/Team/issues/860 - Slow unit tests cause longer waiting time to deliver code to main. Before this fix the test was taking a whooping 6s on average - The main cause of the delay was a downstream's package (got) default retry logic that was taking up a lot of time bypassing the retry logic present in the default scheduler itself
This commit is contained in:
parent
9c5a25b060
commit
9870aff8f0
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ SchedulingDefault.prototype._pingUrl = function (object) {
|
|||
const options = {
|
||||
timeout: requestTimeout,
|
||||
method: httpMethod.toLowerCase(),
|
||||
retry: 0,
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue