Browse Source

En cours de développement

master
losyme 2 months ago
parent
commit
ed428662ff
  1. 8
      factory/job.go
  2. 2
      go.mod
  3. 4
      go.sum

8
factory/job.go

@ -97,13 +97,13 @@ func (job *Job) SetExclusivityNamespace() *Job {
return job
}
func (job *Job) SetMaxAttempts(value int) *Job {
job.job.SetMaxAttempts(value)
func (job *Job) SetMaxOccurences(value int) *Job {
job.job.SetMaxOccurences(value)
return job
}
func (job *Job) SetMaxOccurences(value int) *Job {
job.job.SetMaxOccurences(value)
func (job *Job) SetMaxAttempts(value int) *Job {
job.job.SetMaxAttempts(value)
return job
}

2
go.mod

@ -3,7 +3,7 @@ module forge.chapril.org/dune/sdk
go 1.17
require (
forge.chapril.org/dune/jw v0.0.0-20211124161619-58a5de54972f
forge.chapril.org/dune/jw v0.0.0-20211124164443-54bdf5007b39
forge.chapril.org/losyme/errors v0.0.0-20211003204336-ad5510c24b40
forge.chapril.org/losyme/uuid v0.0.0-20211007082235-8d502169e034
)

4
go.sum

@ -1,5 +1,5 @@
forge.chapril.org/dune/jw v0.0.0-20211124161619-58a5de54972f h1:32SUe5CprdQLjILlUpehLn1+z/pRjoJ8hCAaIem1ePQ=
forge.chapril.org/dune/jw v0.0.0-20211124161619-58a5de54972f/go.mod h1:7CyK2ZvzHntSlOZ7kWcqVhkmUzlE0QI3uKW9kPbNbOY=
forge.chapril.org/dune/jw v0.0.0-20211124164443-54bdf5007b39 h1:rL9AvrSL89tgld9zy31cusqnuo9ORGmd4rCLroiYiC4=
forge.chapril.org/dune/jw v0.0.0-20211124164443-54bdf5007b39/go.mod h1:7CyK2ZvzHntSlOZ7kWcqVhkmUzlE0QI3uKW9kPbNbOY=
forge.chapril.org/losyme/buffer v0.0.0-20211003203540-771701f5a518 h1:B7wu0DWUwpt0Mw/VTuWQZikhV/VD6kc2iJWbIY+jgEM=
forge.chapril.org/losyme/buffer v0.0.0-20211003203540-771701f5a518/go.mod h1:4Yl585hmF3bWZfuwGF2Ym8ErykJZiF9yawlmK7szIkc=
forge.chapril.org/losyme/errors v0.0.0-20211003204336-ad5510c24b40 h1:EoVVFHoIsWRlecHmXP4kx3ALchz5DAfNwso3gcl/Jbk=

Loading…
Cancel
Save