Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

How to increase the live widget request_timeout (no replies)

$
0
0
Hello,

I need to increase the time live widget waits for a reply. Maybe because i highly customized the live plugin (mainly for real-time notifications) in my case if there is a request timeout the widget dies and is not refreshed anymore. My JS is modified such that it does not depends on focus/blur so it refreshes all the time. From what i can see the timeout always occurs at 21.01 seconds, i suppose this is the set timeout right now. How can i make it 60 seconds for instance, before giving up? Found in documentation "setRequestTimeout() — Sets the maximum number of seconds that the tracker will spend waiting for a response from Piwik " but dont know if that`s what i need or how to do it, as i am not a developer. Any help appreciated.

Viewing all articles
Browse latest Browse all 4243

Trending Articles