summaryrefslogtreecommitdiffstats
path: root/lib/puppet/indirector/request.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-01-25 20:54:01 +0100
committerJames Turnbull <james@lovedthanlost.net>2009-02-06 21:58:49 +1100
commit361db45875768727d3c5f310c76850f350e6441f (patch)
tree87039f959187ecc630205c0468e076aa3c559114 /lib/puppet/indirector/request.rb
parent62cdeaaee7f7a878b6ca2db85fe34187d2c6c1ba (diff)
downloadpuppet-361db45875768727d3c5f310c76850f350e6441f.tar.gz
puppet-361db45875768727d3c5f310c76850f350e6441f.tar.xz
puppet-361db45875768727d3c5f310c76850f350e6441f.zip
Change the way the tags and params are handled in rails
The rationale behind this patch is that it takes a lots of time to let rails unserialize the ParamValue and ResourceTag object on each compilation, just to throw them away the second after. The idea is to fetch directly (and batched host per host) the parameters and tags from the database and then returns them as hash. This allows the no-modification case to takes at least 2 times less than before. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/indirector/request.rb')
0 files changed, 0 insertions, 0 deletions