Exception: Chef::Exceptions::RunLockTimeout
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Chef::Exceptions::RunLockTimeout
- Defined in:
- lib/chef/exceptions.rb
Overview
Raised when Chef::Config is set and some other client run fails to release the run lock before Chef::Config seconds pass.
Instance Method Summary collapse
-
#initialize(duration, blocking_pid) ⇒ RunLockTimeout
constructor
A new instance of RunLockTimeout.
Constructor Details
#initialize(duration, blocking_pid) ⇒ RunLockTimeout
Returns a new instance of RunLockTimeout.
456 457 458 |
# File 'lib/chef/exceptions.rb', line 456 def initialize(duration, blocking_pid) super "Unable to acquire lock. Waited #{duration} seconds for #{blocking_pid} to release." end |