mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Merge 1a8f457ced into 27a8f5dbbb
This commit is contained in:
commit
36ddfb60c6
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ module Vmpooler
|
||||||
if (
|
if (
|
||||||
(host.runtime) and
|
(host.runtime) and
|
||||||
(host.runtime.bootTime)
|
(host.runtime.bootTime)
|
||||||
((((Time.now - host.runtime.bootTime)/60).to_s[/^\d+\.\d{1}/].to_f) > ttl)
|
((((Time.now - host.runtime.bootTime)/60).to_s[/^\d+\.\d{1}/].to_f) >= ttl)
|
||||||
)
|
)
|
||||||
$redis.smove('vmpooler__running__'+pool, 'vmpooler__completed__'+pool, vm)
|
$redis.smove('vmpooler__running__'+pool, 'vmpooler__completed__'+pool, vm)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue