Skip to content

Commit 8babbea

Browse files
committed
⚡️ Reduce default mergability checks
1 parent a13f8f5 commit 8babbea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/pull.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ module.exports = class Pull {
221221
}
222222

223223
async isMergeable (prNumber, config = {}) {
224-
const maxRetries = config.maxRetries || 5
224+
const maxRetries = config.maxRetries || 3
225225
let i = 0
226226
while (i++ < maxRetries) {
227227
const createdPR = await this.github.pulls.get({
@@ -238,7 +238,7 @@ module.exports = class Pull {
238238
rebaseable: createdPR.data.rebaseable
239239
}
240240
}
241-
await helper.timeout(3000)
241+
await helper.timeout(4500)
242242
}
243243
return null
244244
}

0 commit comments

Comments
 (0)