0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-05-06 19:18:35 +02:00

removed ws

This commit is contained in:
rmawatson 2026-02-15 17:18:45 +00:00
parent fc5662947c
commit 72e49f3d42

View File

@ -51,10 +51,8 @@ var withRunner = connect.WithInterceptors(connect.UnaryInterceptorFunc(func(unar
if runner.Deleted > 0 && timeutil.TimeStampNow()-runner.Deleted > timeutil.TimeStamp(10) {
return nil, status.Error(codes.Internal, "Runner is deleted")
}
runner.LastActive = timeutil.TimeStampNow()
cols = append(cols, "last_active")
} else if runner.Deleted != 0 {
return nil, status.Error(codes.Internal, "Runner is deleted")
}