🔖 dashboard v0.10.0

This commit is contained in:
naiba
2021-09-27 21:18:09 +08:00
parent ac3cfa162c
commit 4249fa82d7
11 changed files with 81 additions and 69 deletions

View File

@@ -73,3 +73,7 @@ func (m *Monitor) AfterFind(tx *gorm.DB) error {
}
return nil
}
func IsServiceSentinelNeeded(t uint64) bool {
return t == TaskTypeCommand || t == TaskTypeTerminal
}