Skip to content

Commit

Permalink
[service] log line to track tasks that get delayed in execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruv Garg committed Dec 4, 2024
1 parent b4aceeb commit ce582e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpc/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,9 @@ async def NotifyTaskCompletion(self, request, context):
self._logger.info(
f"[{stime}] Adding event {task_finished_event} to the simulator's event queue"
)
if actual_task_completion_time < self.__stime():
self._logger.error(
f"[{stime}] Task '{request.task_id}' of task graph '{r.task_graph.name}' had exceeded its runtime by {self.__stime() - actual_task_completion_time}")

scheduler_start_event = Event(
event_type=EventType.SCHEDULER_START,
Expand Down

0 comments on commit ce582e0

Please sign in to comment.