Increase the cache size of convert_to_markdown to 4096

This commit is contained in:
oobabooga 2024-03-11 18:43:04 -07:00
parent 9eca197409
commit 46031407b5

View File

@ -48,7 +48,7 @@ def replace_blockquote(m):
return m.group().replace('\n', '\n> ').replace('\\begin{blockquote}', '').replace('\\end{blockquote}', '')
@functools.lru_cache(maxsize=512)
@functools.lru_cache(maxsize=4096)
def convert_to_markdown(string):
# Blockquote