why do we need new identifier in mysql locker #881
Replies: 2 comments 1 reply
-
|
@manuelarte ☝️ |
Beta Was this translation helpful? Give feedback.
-
|
Hi @fudongyingluck, Maybe the name As an example, imagine that you have two instances running ( At If we would use the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
we already have an identifier for a job.
gocron/job.go
Line 754 in 63f3701
why do we need another one in the locker ? Why don't we just pass that as a parameter ?
gocron/executor.go
Line 387 in 63f3701
https://github.com/go-co-op/gocron-gorm-lock/blob/c615ac7060c9c09324ea80ed6a68d8c1769e2991/gorm_lock.go#L67
Beta Was this translation helpful? Give feedback.
All reactions