mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
[rubygems/rubygems] Let the guards have some space to breathe
73f1609715
This commit is contained in:
parent
56804ddd2b
commit
df11b3daf8
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ module Bundler
|
|||
# that contain the same gem with different checksums.
|
||||
def replace(spec, checksum)
|
||||
return unless checksum
|
||||
|
||||
lock_name = spec.name_tuple.lock_name
|
||||
@store_mutex.synchronize do
|
||||
existing = fetch_checksum(lock_name, checksum.algo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue