fix: Adjusting cache size in all the library

This commit is contained in:
Karim shoair
2025-03-17 06:46:41 +02:00
parent 18d2d29fa8
commit ff3962b1ad
7 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ from scrapling.core.utils import log, lru_cache
from .toolbelt import Response, generate_convincing_referer, generate_headers
@lru_cache(5, typed=True) # Singleton easily
@lru_cache(2, typed=True) # Singleton easily
class StaticEngine:
def __init__(
self, url: str, proxy: Optional[str] = None, stealthy_headers: bool = True, follow_redirects: bool = True,