mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
This commit updates how migrating and pending queues are processed. Sets to be processed are created with sadd in redis, and iterated over as a list in ruby. The latest member is added to the beginning of this set in redis, and becomes the first member of the set in ruby. To ensure that items are processed in the order they are added it is necessary to reverse the list before iterating through its members. Without this change the newest members of the set are processed first, which creates inconsistent times to evaluation. |
||
|---|---|---|
| .. | ||
| api | ||
| providers | ||
| public | ||
| views | ||
| api.rb | ||
| dashboard.rb | ||
| dummy_statsd.rb | ||
| generic_connection_pool.rb | ||
| graphite.rb | ||
| logger.rb | ||
| pool_manager.rb | ||
| providers.rb | ||
| statsd.rb | ||
| version.rb | ||