mirror of
https://github.com/hibiken/asynq.git
synced 2025-10-18 08:57:55 +08:00
Use string concat instead of fmt.Sprintf (#962)
This commit is contained in:
@@ -110,5 +110,5 @@ func (s *Semaphore) Close() error {
|
||||
}
|
||||
|
||||
func semaphoreKey(scope string) string {
|
||||
return fmt.Sprintf("asynq:sema:%s", scope)
|
||||
return "asynq:sema:" + scope
|
||||
}
|
||||
|
Reference in New Issue
Block a user