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
Post a Comment