make fetchlog limit to 20

This commit is contained in:
kwaroran
2024-06-19 03:24:50 +09:00
parent c2eb8c6419
commit 55cb71fefc

View File

@@ -646,6 +646,10 @@ function addFetchLogInGlobalFetch(response:any, success:boolean, url:string, arg
chatId: arg.chatId chatId: arg.chatId
}) })
} }
if(fetchLog.length > 20){
fetchLog.pop()
}
} }
// Decoupled globalFetch built-in function // Decoupled globalFetch built-in function