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:
parent
fc5662947c
commit
72e49f3d42
@ -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")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user