python - global response timeout in django -


In the Django application I am going to get data from some external applications like Facebook, Twitter etc. I want to set global feedback timeout for every request in my app if there is no response from external applications such as Facebook, Twitter etc in specific applications, then Django should throw an exception for this.

Is there a way to set global feedback timeout in the Django app?

You should never synchronize URL retrieval. It does not matter if your timeframe is set, there are always browsers that can timeout based on user settings.

Within an asynchronous task, you can set up using timeouts.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -