mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-12 16:09:33 +00:00
Lower usage of KV cache to 30% of tags (#2500)
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ function shouldUseKVForTag(tag: string): boolean {
|
||||
const hash = tag.split('').reduce((acc, char) => {
|
||||
return acc + char.charCodeAt(0);
|
||||
}, 0);
|
||||
if (hash % 100 <= 60) {
|
||||
if (hash % 100 <= 30) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user