mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 05:10:43 +00:00
dashboard/app: mark managers as bad after 6 hours of inactivity
It should not take more than 6 hours to rebuild all kernels. So it's better to highlight bad managers earlier.
This commit is contained in:
parent
028c09511b
commit
6155cc0988
@ -836,7 +836,7 @@ func loadManagers(c context.Context, accessLevel AccessLevel) ([]*uiManager, err
|
|||||||
CurrentBuild: uiBuilds[mgr.Namespace+"|"+mgr.CurrentBuild],
|
CurrentBuild: uiBuilds[mgr.Namespace+"|"+mgr.CurrentBuild],
|
||||||
FailedBuildBugLink: bugLink(mgr.FailedBuildBug),
|
FailedBuildBugLink: bugLink(mgr.FailedBuildBug),
|
||||||
LastActive: mgr.LastAlive,
|
LastActive: mgr.LastAlive,
|
||||||
LastActiveBad: now.Sub(mgr.LastAlive) > 12*time.Hour,
|
LastActiveBad: now.Sub(mgr.LastAlive) > 6*time.Hour,
|
||||||
CurrentUpTime: mgr.CurrentUpTime,
|
CurrentUpTime: mgr.CurrentUpTime,
|
||||||
MaxCorpus: stats.MaxCorpus,
|
MaxCorpus: stats.MaxCorpus,
|
||||||
MaxCover: stats.MaxCover,
|
MaxCover: stats.MaxCover,
|
||||||
|
Loading…
Reference in New Issue
Block a user