Reduce stream info polling from 1s to 10s
Reduces load on Liquidsoap telnet interface which was logging 'disconnected without saying goodbye' messages at high frequency.
This commit is contained in:
parent
0748466811
commit
f79bf2f259
|
|
@ -408,7 +408,7 @@
|
||||||
;; Periodically update stream info if in frameset
|
;; Periodically update stream info if in frameset
|
||||||
(let ((is-frameset-page (not (= (ps:@ window parent) (ps:@ window self)))))
|
(let ((is-frameset-page (not (= (ps:@ window parent) (ps:@ window self)))))
|
||||||
(when is-frameset-page
|
(when is-frameset-page
|
||||||
(set-interval update-stream-information 1000)))
|
(set-interval update-stream-information 10000)))
|
||||||
|
|
||||||
;; Update now playing
|
;; Update now playing
|
||||||
(update-now-playing)
|
(update-now-playing)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue