Browse Source

En cours de développement

master
mls-361 4 months ago
parent
commit
d8f2395fd8
  1. 4
      cmd/main.go
  2. 2
      go.mod
  3. 4
      go.sum

4
cmd/main.go

@ -36,7 +36,7 @@ func main() {
}))
pool, err := pool.New(&pool.Config{
Size: 1,
Size: 3,
Model: model,
})
if err != nil {
@ -58,7 +58,7 @@ func main() {
PriorityLow().
CreateJob()
time.Sleep(2 * time.Second)
time.Sleep(1 * time.Second)
pool.Stop()
}

2
go.mod

@ -6,5 +6,5 @@ require (
forge.chapril.org/armen/armen-jw v0.0.0-20210405210229-7f528bbffcad
forge.chapril.org/armen/armen-namespace v0.0.0-20210405210322-d42f91eac7a9
forge.chapril.org/armen/armen-sdk v0.0.0-20210404201237-d01a88d7ae37
forge.chapril.org/armen/armen-workers v0.0.0-20210405210354-85716928b185
forge.chapril.org/armen/armen-workers v0.0.0-20210405213231-bb207cb7a4b5
)

4
go.sum

@ -4,5 +4,5 @@ forge.chapril.org/armen/armen-namespace v0.0.0-20210405210322-d42f91eac7a9 h1:4M
forge.chapril.org/armen/armen-namespace v0.0.0-20210405210322-d42f91eac7a9/go.mod h1:94d9aHoXb6io5czG11NXl11z3yj0W9IpMzcW2kkY9WM=
forge.chapril.org/armen/armen-sdk v0.0.0-20210404201237-d01a88d7ae37 h1:Rz+f6ei4aZ3rIt5AE0aTgIFAoIbGHDM8jpM2byVA3sc=
forge.chapril.org/armen/armen-sdk v0.0.0-20210404201237-d01a88d7ae37/go.mod h1:we9oWhLZ2hPtsyRDbc6cNih/R+gOpsmK4xJopD2VBOM=
forge.chapril.org/armen/armen-workers v0.0.0-20210405210354-85716928b185 h1:EedR9dHvM9HykqIF5Vib02rjEpYhwekIB2YjTYJLryo=
forge.chapril.org/armen/armen-workers v0.0.0-20210405210354-85716928b185/go.mod h1:NxUZAk/rCK/SgEYb0UPyJc7QMXs2UAasFDeaz/PmHSY=
forge.chapril.org/armen/armen-workers v0.0.0-20210405213231-bb207cb7a4b5 h1:a2ExTrXofPOrmsO5MiNDy69G6ciDaDLg5YIvQw/mu5o=
forge.chapril.org/armen/armen-workers v0.0.0-20210405213231-bb207cb7a4b5/go.mod h1:NxUZAk/rCK/SgEYb0UPyJc7QMXs2UAasFDeaz/PmHSY=
Loading…
Cancel
Save