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 a8d1945 commit eb6db14Copy full SHA for eb6db14
nmdc_runtime/api/endpoints/lib/linked_instances.py
@@ -37,7 +37,7 @@ def temp_linked_instances_collection_name(ids: list[str], types: list[str]) -> s
37
return f"_runtime.tmp.linked_instances.{hash_from_ids_and_types(ids=ids,types=types)}.{ObjectId()}"
38
39
40
-def drop_stale_temp_linked_instances_collections():
+def drop_stale_temp_linked_instances_collections() -> None:
41
"""Drop any temporary linked-instances collections that were generated earlier than one day ago."""
42
mdb = get_mongo_db()
43
one_day_ago = now() - timedelta(days=1)
0 commit comments