Spaces:
				
			
			
	
			
			
					
		Running
		
	
	
	
			
			
	
	
	
	
		
		
					
		Running
		
	Fix unresponsive space (502 & 504 errors)
#52
by
						
JBoi
	
							
						- opened
							
					
Attempts to fix the unresponsive space ("502 Bad Gateway" and "504 Gateway Timeout" errors) by removing potential indefinite hangs and loops (without limiting generation time).
- Adds a 60 second timeout to request calls.
 - Restructures the if-else statements in the while loop so that any status other than "PENDING", "RUNNING", or "SUCCEEDED" will end the loop as failed.
 - Increases the poll time to 10 seconds to lower network usage.
 
Unfortunately, it’s still not working .. the page just keeps loading without ever completing
kelseye
	
				
		changed pull request status to
		merged