semantics
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
# @SEMANTICS: task, cleanup, retention, logs
|
||||
# @PURPOSE: Implements task cleanup and retention policies, including associated logs.
|
||||
# @LAYER: Core
|
||||
# @RELATION: Uses TaskPersistenceService and TaskLogPersistenceService to delete old tasks and logs.
|
||||
# @RELATION: DEPENDS_ON -> [TaskPersistenceService]
|
||||
# @RELATION: DEPENDS_ON -> [TaskLogPersistenceService]
|
||||
# @RELATION: DEPENDS_ON -> [ConfigManager]
|
||||
|
||||
from typing import List
|
||||
from .persistence import TaskPersistenceService, TaskLogPersistenceService
|
||||
@@ -13,8 +15,9 @@ from ..config_manager import ConfigManager
|
||||
# [DEF:TaskCleanupService:Class]
|
||||
# @PURPOSE: Provides methods to clean up old task records and their associated logs.
|
||||
# @COMPLEXITY: 3
|
||||
# @RELATION: DEPENDS_ON -> Task_manager
|
||||
# @RELATION: DEPENDS_ON -> ThrottledSchedulerConfigurator, CALL -> -> TaskCleanupService
|
||||
# @RELATION: DEPENDS_ON -> [TaskPersistenceService]
|
||||
# @RELATION: DEPENDS_ON -> [TaskLogPersistenceService]
|
||||
# @RELATION: DEPENDS_ON -> [ConfigManager]
|
||||
class TaskCleanupService:
|
||||
# [DEF:__init__:Function]
|
||||
# @PURPOSE: Initializes the cleanup service with dependencies.
|
||||
|
||||
Reference in New Issue
Block a user