Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I am developing a package that in certain cases takes a lot of time to elaborate. I am using Angular, but the timeout config option in the $http.get method seems not to be respected.
At the moment I am calling a method like that:
$http.get('backoffice/xxxxxx/Dashboard/getInfo', {timeout: 300000}).then(function (response) { ... ...
and I expect a timeout of 5 minutes, but right after 60 seconds the browser reports that the request goes in timeout.
Is there any workaround to make a request and wait for it for more than 60 seconds?
Thanks, Michele
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Angular timeout on $http.get
Hi, I am developing a package that in certain cases takes a lot of time to elaborate. I am using Angular, but the timeout config option in the $http.get method seems not to be respected.
At the moment I am calling a method like that:
and I expect a timeout of 5 minutes, but right after 60 seconds the browser reports that the request goes in timeout.
Is there any workaround to make a request and wait for it for more than 60 seconds?
Thanks, Michele
is working on a reply...