[square] retry web sdk faster
This commit is contained in:
		
							parent
							
								
									c7382a1c6c
								
							
						
					
					
						commit
						067aac4d06
					
				| @ -423,8 +423,8 @@ export class AccelerateCheckout implements OnInit, OnDestroy { | ||||
|     }; | ||||
| 
 | ||||
|     if (!window['Square']) { | ||||
|       console.debug('Square.js failed to load properly. Retrying in 1 second.'); | ||||
|       setTimeout(this.setupSquare.bind(this), 1000); | ||||
|       console.debug('Square.js failed to load properly. Retrying.'); | ||||
|       setTimeout(this.setupSquare.bind(this), 100); | ||||
|     } else { | ||||
|       init(); | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user