Browse Source

perf: terminal status

pull/9013/head
Eric 2 years ago
parent
commit
ab6ffda435
  1. 2
      apps/terminal/models/component/status.py

2
apps/terminal/models/component/status.py

@ -42,7 +42,7 @@ class Status(models.Model):
@classmethod
def get_terminal_latest_status(cls, terminal):
from ..utils import ComputeStatUtil
from ...utils import ComputeStatUtil
stat = cls.get_terminal_latest_stat(terminal)
return ComputeStatUtil.compute_component_status(stat)

Loading…
Cancel
Save