[rubygems/rubygems] Let the guards have some space to breathe
https://github.com/rubygems/rubygems/commit/73f1609715
This commit is contained in:
parent
56804ddd2b
commit
df11b3daf8
@ -189,6 +189,7 @@ module Bundler
|
|||||||
# that contain the same gem with different checksums.
|
# that contain the same gem with different checksums.
|
||||||
def replace(spec, checksum)
|
def replace(spec, checksum)
|
||||||
return unless checksum
|
return unless checksum
|
||||||
|
|
||||||
lock_name = spec.name_tuple.lock_name
|
lock_name = spec.name_tuple.lock_name
|
||||||
@store_mutex.synchronize do
|
@store_mutex.synchronize do
|
||||||
existing = fetch_checksum(lock_name, checksum.algo)
|
existing = fetch_checksum(lock_name, checksum.algo)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user