This patch set is mostly about fixing a couple of small
things that were broken in master (small fixes but major
breakage).

In the process of verifying that Brice's fixes for the problems
worked for me, I concluded that fileserving was unnecessarily
slow.  After some investigation, I found that too many round
trips were happening because of unnecessary calls to expire().

Removing those calls took my simple copies of 200 files from 73
seconds to 20.

lib/puppet/indirector/rest.rb          |    1 +
lib/puppet/network/http/handler.rb     |    2 ++
lib/puppet/type/file.rb                |    3 +--
lib/puppet/type/file/content.rb        |    2 +-
lib/puppet/type/file/ensure.rb         |    1 -
spec/unit/indirector/rest.rb           |   10 ++++++++++
spec/unit/network/http/mongrel/rest.rb |   12 ++++++++++++
spec/unit/type/file.rb                 |    2 +-
spec/unit/type/file/content.rb         |   15 +++++++++++++++
9 files changed, 43 insertions(+), 5 deletions(-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to