Closed lo-co closed 8 years ago
Didn't realize this would happen, but apparently the setinterval() function will back up when the server responds too slow (i.e. when we are trying to push a lot of data over).
setinterval()
Somehow we must use the promise to determine whether the function has returned or not...
https://docs.angularjs.org/api/ng/service/$q
Fixed this by
finally(function(){})
$http
Needs testing with big data...
Didn't realize this would happen, but apparently the
setinterval()
function will back up when the server responds too slow (i.e. when we are trying to push a lot of data over).