2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-23 01:00:17 +08:00

update arg name

This commit is contained in:
ajatprabha 2021-11-01 18:59:49 +05:30
parent dde93bfc12
commit eb891cdbfd
No known key found for this signature in database
GPG Key ID: EEA3FDB0312545DA

View File

@ -109,6 +109,6 @@ func (s *Semaphore) Close() error {
return s.rc.Close() return s.rc.Close()
} }
func semaphoreKey(name string) string { func semaphoreKey(scope string) string {
return fmt.Sprintf("asynq:sema:%s", name) return fmt.Sprintf("asynq:sema:%s", scope)
} }