mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
This commit implements a vm_mutex hash to allow synchronizing VM operations that should only happen once across threads. Without this change pool_manager will try to evaluate or destroy a VM multiple times, which results in an error being thrown by one of the destroy attempts as only one can succeed and a duplication of resources unnecessarily when there are no errors. |
||
|---|---|---|
| .. | ||
| api | ||
| providers | ||
| generic_connection_pool_spec.rb | ||
| pool_manager_spec.rb | ||
| vmpooler_spec.rb | ||