From 5d7606fb3bcf2ef95e812638c9f941e97840cf7d Mon Sep 17 00:00:00 2001 From: Glenn Thompson Date: Mon, 9 Mar 2026 09:25:20 +0000 Subject: [PATCH] =?UTF-8?q?Bump=20now-playing-json=20rate=20limit=2030?= =?UTF-8?q?=E2=86=92120/min=20+=20update=20cl-streamer=20submodule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - frontend-partials.lisp: increase rate limit on now-playing-json from 30 to 120 requests/minute to prevent 429 errors from concurrent frontend pollers (player + now-playing + popout) - cl-streamer: catch serious-condition in play-list for native code crash recovery (23b5ee1) --- cl-streamer | 2 +- frontend-partials.lisp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cl-streamer b/cl-streamer index d57a268..23b5ee1 160000 --- a/cl-streamer +++ b/cl-streamer @@ -1 +1 @@ -Subproject commit d57a2683e757577a7292b63b5d3ad7016bb24187 +Subproject commit 23b5ee1e35e6c967cab12751ac7b8930d21b3307 diff --git a/frontend-partials.lisp b/frontend-partials.lisp index 30b5be8..203ddf8 100644 --- a/frontend-partials.lisp +++ b/frontend-partials.lisp @@ -105,7 +105,7 @@ (setf (header "Content-Type") "text/plain") "Stream Offline"))))) -(define-api-with-limit asteroid/partial/now-playing-json (&optional mount) (:limit 30 :timeout 60) +(define-api-with-limit asteroid/partial/now-playing-json (&optional mount) (:limit 120 :timeout 60) "Get JSON with now playing info including track ID for favorites. Optional MOUNT parameter specifies which stream to get metadata from." ;; Register web listener for geo stats (keeps listener active during playback)