Automattic / liveblog

Liveblogging done right. Using WordPress.
https://wordpress.org/plugins/liveblog/
308 stars 122 forks source link

Polling still occurring after liveblog is archived #670

Open kevinlisota opened 3 years ago

kevinlisota commented 3 years ago

We have archived liveblog posts that still poll every 10 seconds, despite their archive status.

I have confirmed that the configuration object is liveblog_settings.state = 'archive' which is what I think controls this behavior. I see that the app.js script is initiating the polling.

There used to be a script called liveblog.js that controlled whether polling occurred or not. But that is now polling is done in app.js

Any pointers on how to disable polling on archived posts? Or is this broken?