make fetchlog limit to 20
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user