Hi,
We are on piwik 2.3. A while back; and I am not sure which version they were on, but I assume it was at least 2.x; piwik
was "locking up" due to the mysql db area running out of space (I was not working here then). Considering this, I was
looking at the piwik javascript code. I noticed the document.async call and found on the web:
https://developer.mozilla.org/en-US/docs/Web/API/document.async
So far, this is the only reference to async being depreciated. So, I am not 100% sure if this is happening or not.
My impression with async being used is that the web page using the javacript call to the piwik server should not
be affected hanged up if the piwik server fails (like due to mysql db area out of space or some server problem).
If this is not the case and the page will hang when making a piwik call if the piwik server does not return quickly,
can a timeout function be used.
In any case, can the call to piwik server be wrapped in a timer that would "say" cancel the call to the piwik server
if it is not responding in X time, lets say 5ms or what ever the admin. wants. Might be good to be configurable
on a per server basis....
Hope this make sense.
Thanks,
Douglas
We are on piwik 2.3. A while back; and I am not sure which version they were on, but I assume it was at least 2.x; piwik
was "locking up" due to the mysql db area running out of space (I was not working here then). Considering this, I was
looking at the piwik javascript code. I noticed the document.async call and found on the web:
https://developer.mozilla.org/en-US/docs/Web/API/document.async
So far, this is the only reference to async being depreciated. So, I am not 100% sure if this is happening or not.
My impression with async being used is that the web page using the javacript call to the piwik server should not
be affected hanged up if the piwik server fails (like due to mysql db area out of space or some server problem).
If this is not the case and the page will hang when making a piwik call if the piwik server does not return quickly,
can a timeout function be used.
In any case, can the call to piwik server be wrapped in a timer that would "say" cancel the call to the piwik server
if it is not responding in X time, lets say 5ms or what ever the admin. wants. Might be good to be configurable
on a per server basis....
Hope this make sense.
Thanks,
Douglas