travis: don't print 'waiting for mastodon' so frequently

This commit is contained in:
Nolan Lawson 2018-04-10 20:15:04 -07:00
parent 9643cfc9db
commit 7488eaebd6
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ export async function waitForMastodonUiToStart () {
} }
} catch (err) { } catch (err) {
console.log('Waiting for Mastodon UI to start up...') console.log('Waiting for Mastodon UI to start up...')
await new Promise(resolve => setTimeout(resolve, 1000)) await new Promise(resolve => setTimeout(resolve, 5000))
} }
} }
console.log('Mastodon UI started up') console.log('Mastodon UI started up')
@ -24,7 +24,7 @@ export async function waitForMastodonApiToStart () {
} }
} catch (err) { } catch (err) {
console.log('Waiting for Mastodon API to start up...') console.log('Waiting for Mastodon API to start up...')
await new Promise(resolve => setTimeout(resolve, 1000)) await new Promise(resolve => setTimeout(resolve, 5000))
} }
} }
console.log('Mastodon API started up') console.log('Mastodon API started up')