You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(web): resolve healthz cache warning by using lightweight count query
The getCachedAgentsLite function was trying to cache ~19MB of agent data,
exceeding the unstable_cache 2MB limit. Created a new getAgentCount()
function that only performs a COUNT(*) query, avoiding the cache entirely.
This fixes the warning: "Failed to set Next.js data cache for unstable_cache
/api/healthz, items over 2MB can not be cached"
0 commit comments