Merge branch 'master' into nymkappa/accelerate-preview-login-cta
This commit is contained in:
		
						commit
						a8e6d9b4b9
					
				| @ -75,9 +75,9 @@ class FailoverRouter { | |||||||
| 
 | 
 | ||||||
|     const results = await Promise.allSettled(this.hosts.map(async (host) => { |     const results = await Promise.allSettled(this.hosts.map(async (host) => { | ||||||
|       if (host.socket) { |       if (host.socket) { | ||||||
|         return this.pollConnection.get<number>('/blocks/tip/height', { socketPath: host.host, timeout: 2000 }); |         return this.pollConnection.get<number>('/blocks/tip/height', { socketPath: host.host, timeout: 5000 }); | ||||||
|       } else { |       } else { | ||||||
|         return this.pollConnection.get<number>(host.host + '/blocks/tip/height', { timeout: 2000 }); |         return this.pollConnection.get<number>(host.host + '/blocks/tip/height', { timeout: 5000 }); | ||||||
|       } |       } | ||||||
|     })); |     })); | ||||||
|     const maxHeight = results.reduce((max, result) => Math.max(max, result.status === 'fulfilled' ? result.value?.data || 0 : 0), 0); |     const maxHeight = results.reduce((max, result) => Math.max(max, result.status === 'fulfilled' ? result.value?.data || 0 : 0), 0); | ||||||
|  | |||||||
| @ -1793,7 +1793,7 @@ case $OS in | |||||||
| esac | esac | ||||||
| 
 | 
 | ||||||
| # wait for mysql to start | # wait for mysql to start | ||||||
| sleep 5 | sleep 10 | ||||||
| 
 | 
 | ||||||
| mysql << _EOF_ | mysql << _EOF_ | ||||||
| create database mempool; | create database mempool; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user