I have been searching for a while and I can not find a way to resolve a large data pull ending in a 503 error. What I am doing is pull json from my webservice. The data is being paginated but it is still taking longer then the frontend will wait on. I have not found anyway to increase the timeout and I have optimized the pull as best as I can. The frontend times out a second before the data is returned. I tried adding
flash("Getting order count", "alert-info")
but I am not getting anything on the screen. I am newish to Flask AppBuilder but in straight Flask that is all I have done in the past. Any suggestions for the large json data pull or how to properly use the flash would be greatly appreciated.
I have been searching for a while and I can not find a way to resolve a large data pull ending in a 503 error. What I am doing is pull json from my webservice. The data is being paginated but it is still taking longer then the frontend will wait on. I have not found anyway to increase the timeout and I have optimized the pull as best as I can. The frontend times out a second before the data is returned. I tried adding
flash("Getting order count", "alert-info")
but I am not getting anything on the screen. I am newish to Flask AppBuilder but in straight Flask that is all I have done in the past. Any suggestions for the large json data pull or how to properly use the flash would be greatly appreciated.