Skip to content

Commit

Permalink
Update distributed_gobreaker_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
YoshiyukiMineo authored Dec 29, 2024
1 parent 6e0fee8 commit 8bd4df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/distributed_gobreaker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (sa *storeAdapter) Lock(name string) error {
return mutex.Lock()
}

mutex = sa.rs.NewMutex(name, redsync.WithExpiry(mutexTimeout)
mutex = sa.rs.NewMutex(name, redsync.WithExpiry(mutexTimeout))
sa.mutex[name] = mutex
return mutex.Lock()
}
Expand Down

0 comments on commit 8bd4df0

Please sign in to comment.