Commit 59e8056a59d8

Vincent Demeester <vincent@sbr.pm>
2026-11-24 12:07:33
fix: eased Immich image rate limits
Allowed image browsing without exhausting the API limit while retaining stricter limits for authentication and other API requests. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 5f44876
Changed files (1)
systems
carthage
systems/carthage/extra.nix
@@ -919,9 +919,13 @@ in
           }
         }
 
-        # Moderate rate limiting for API endpoints
+        # Image downloads use the general limit to allow thumbnail-heavy browsing.
         @api {
           path /api/*
+          not {
+            method GET HEAD
+            path /api/assets/*/thumbnail /api/assets/*/original
+          }
         }
         route @api {
           rate_limit {
@@ -1069,9 +1073,13 @@ in
           }
         }
 
-        # Moderate rate limiting for API endpoints
+        # Image downloads use the general limit to allow thumbnail-heavy browsing.
         @api {
           path /api/*
+          not {
+            method GET HEAD
+            path /api/assets/*/thumbnail /api/assets/*/original
+          }
         }
         route @api {
           rate_limit {