sync update from LAN repo (source master @ ca48c4ec)
This commit is contained in:
1 parent
8bc8b0e082
commit
ea9dcff9c0
873 files changed
+107866
-14011
No files matched your search
+8
@@ -82,3 +82,11 @@ class ToolMetricsStore(ABC):
|
||||
"which skills were invoked, and how often did each succeed/fail".
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
async def purge_before(self, cutoff: datetime, *, batch_size: int = 1_000) -> int:
|
||||
"""Delete one bounded batch of audit rows older than ``cutoff``.
|
||||
|
||||
The default keeps alternate/in-memory implementations compatible; the
|
||||
SQL repository supplies the real retention operation.
|
||||
"""
|
||||
return 0
|
||||
Reference in new issue
Block a user