mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 04:30:16 +09:00
Refactor git command context & pipeline (#36406)
Less and simpler code, fewer bugs
This commit is contained in:
1 parent
f6db180a80
commit
9ea91e036f
36 files changed
+286
-434
No files matched your search
@@ -21,7 +21,7 @@ import (
|
||||
// It can use different underlying (base) queue types
|
||||
type WorkerPoolQueue[T any] struct {
|
||||
ctxRun context.Context
|
||||
ctxRunCancel context.CancelFunc
|
||||
ctxRunCancel process.FinishedFunc
|
||||
|
||||
shutdownDone chan struct{}
|
||||
shutdownTimeout atomic.Int64 // in case some buggy handlers (workers) would hang forever, "shutdown" should finish in predictable time
|
||||
|
||||
Reference in new issue
Block a user