2
0
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:
Pior Bastida
2024-11-11 06:20:16 +01:00
committed by GitHub
parent 87375b5534
commit 1a7c61ac49
2 changed files with 25 additions and 25 deletions

View File

@@ -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
}