Browse Source

En cours de développement

master
losyme 5 months ago
parent
commit
99f5b4b6fb
  1. 2
      go.mod
  2. 4
      go.sum
  3. 2
      workers/pool.go

2
go.mod

@ -11,7 +11,7 @@ require (
forge.chapril.org/losyme/roundrobin v0.0.0-20220101202922-42e4b1e1d136
forge.chapril.org/losyme/util v0.0.0-20220101202923-23640bbd8739
forge.chapril.org/losyme/uuid v0.0.0-20220101202925-b6817a6cc0bb
forge.chapril.org/losyme/zombie v0.0.0-20220119195122-364ddc07ad70
forge.chapril.org/losyme/zombie v0.0.0-20220120090528-44afcc0a838e
)
require (

4
go.sum

@ -18,5 +18,5 @@ forge.chapril.org/losyme/util v0.0.0-20220101202923-23640bbd8739 h1:02ofB/g/A1UT
forge.chapril.org/losyme/util v0.0.0-20220101202923-23640bbd8739/go.mod h1:lKYvkuBOTU3E2HuQZDh4ZSA4u3VcFopQbdPUKaHGHEk=
forge.chapril.org/losyme/uuid v0.0.0-20220101202925-b6817a6cc0bb h1:Zn6GNf8b2uJ/w8ubBNCCfysKO5lgKGQCPMr56C9KqHk=
forge.chapril.org/losyme/uuid v0.0.0-20220101202925-b6817a6cc0bb/go.mod h1:AgvbvGzTkQkbiM+s9eVhvLUSHbA0V6N+q5oBFI2v0LA=
forge.chapril.org/losyme/zombie v0.0.0-20220119195122-364ddc07ad70 h1:fujhG4Kgg2vUedvrOLOA7f7s8tfXPkQL0Avp0MWKmZU=
forge.chapril.org/losyme/zombie v0.0.0-20220119195122-364ddc07ad70/go.mod h1:f2dCQZ+o+tk8hzWDapLPvqjiEF1QShkS19jOptvoYaM=
forge.chapril.org/losyme/zombie v0.0.0-20220120090528-44afcc0a838e h1:zNzPTCKxZBoZV1mB2R+Mt0qg4MDkIULnIxNQyIjhN9s=
forge.chapril.org/losyme/zombie v0.0.0-20220120090528-44afcc0a838e/go.mod h1:f2dCQZ+o+tk8hzWDapLPvqjiEF1QShkS19jOptvoYaM=

2
workers/pool.go

@ -20,7 +20,7 @@ type pool struct {
state *state
workers map[string]*worker
stopCh chan bool
zombie *zombie.GroupWithContext
zombie *zombie.GWithContext
}
func newPool(cfg *Config, host string, state *state) *pool {

Loading…
Cancel
Save