Skip to content

Commit ebfedda

Browse files
committed
fix: set demo timeout to 10 seconds
1 parent 1797a27 commit ebfedda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if (debugXvfb.enabled) {
1212
function startStop () {
1313
const xvfb = Promise.promisifyAll(
1414
new Xvfb({
15-
timeout: 100,
15+
timeout: 10000,
1616
onStderrData (data) {
1717
if (debugXvfb.enabled) {
1818
debugXvfb(data.toString())
@@ -21,7 +21,7 @@ function startStop () {
2121
})
2222
)
2323

24-
const retryLimit = 50
24+
const retryLimit = 0
2525
const retryStart = (i = 0) => {
2626
return xvfb.startAsync().catch({ timedOut: true }, (e) => {
2727
console.log('Timed out', e.message)

0 commit comments

Comments
 (0)