We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb9cc1 commit 5c3710cCopy full SHA for 5c3710c
librarian_server/api/validate.py
@@ -5,6 +5,7 @@
5
"""
6
7
import asyncio
8
+from functools import lru_cache
9
from pathlib import Path
10
from time import perf_counter
11
@@ -38,6 +39,7 @@
38
39
router = APIRouter(prefix="/api/v2/validate")
40
41
42
+@lru_cache(maxsize=1024)
43
def calculate_checksum_of_local_copy(
44
original_checksum: str,
45
original_size: int,
pyproject.toml
@@ -7,7 +7,7 @@ exclude=["*tests*"]
[project]
name="hera_librarian"
requires-python = ">=3.10"
-version = "3.0.11"
+version = "3.1.0"
dependencies = [
12
"alembic",
13
"argon2-cffi",
0 commit comments