mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-22 16:50:18 +08:00
update arg name
This commit is contained in:
parent
dde93bfc12
commit
eb891cdbfd
@ -109,6 +109,6 @@ func (s *Semaphore) Close() error {
|
||||
return s.rc.Close()
|
||||
}
|
||||
|
||||
func semaphoreKey(name string) string {
|
||||
return fmt.Sprintf("asynq:sema:%s", name)
|
||||
func semaphoreKey(scope string) string {
|
||||
return fmt.Sprintf("asynq:sema:%s", scope)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user