feat: add caching debug logs and configurable max concurrent requests for Komga API to enhance performance monitoring
This commit is contained in:
@@ -87,11 +87,6 @@ export const ERROR_CODES = {
|
||||
INVALID_TOKEN: "MIDDLEWARE_INVALID_TOKEN",
|
||||
INVALID_SESSION: "MIDDLEWARE_INVALID_SESSION",
|
||||
},
|
||||
DEBUG: {
|
||||
FETCH_ERROR: "DEBUG_FETCH_ERROR",
|
||||
SAVE_ERROR: "DEBUG_SAVE_ERROR",
|
||||
CLEAR_ERROR: "DEBUG_CLEAR_ERROR",
|
||||
},
|
||||
CLIENT: {
|
||||
FETCH_ERROR: "CLIENT_FETCH_ERROR",
|
||||
NETWORK_ERROR: "CLIENT_NETWORK_ERROR",
|
||||
|
||||
@@ -85,11 +85,6 @@ export const ERROR_MESSAGES: Record<string, string> = {
|
||||
[ERROR_CODES.CONFIG.TTL_SAVE_ERROR]: "⏱️ Error saving TTL configuration",
|
||||
[ERROR_CODES.CONFIG.TTL_FETCH_ERROR]: "⏱️ Error fetching TTL configuration",
|
||||
|
||||
// Debug
|
||||
[ERROR_CODES.DEBUG.FETCH_ERROR]: "🔍 Error fetching logs",
|
||||
[ERROR_CODES.DEBUG.SAVE_ERROR]: "💾 Error saving log",
|
||||
[ERROR_CODES.DEBUG.CLEAR_ERROR]: "🧹 Error clearing logs",
|
||||
|
||||
// Client
|
||||
[ERROR_CODES.CLIENT.FETCH_ERROR]: "🌐 Error during request",
|
||||
[ERROR_CODES.CLIENT.NETWORK_ERROR]: "📡 Network connection error",
|
||||
|
||||
Reference in New Issue
Block a user