travis: don't print 'waiting for mastodon' so frequently
This commit is contained in:
		
							parent
							
								
									9643cfc9db
								
							
						
					
					
						commit
						7488eaebd6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -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')
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue