]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tilecache.rb
Move cron customisation for tile caches to the tools cookbook
[chef.git] / roles / tilecache.rb
index 8353a21209d62f40a32ac1c2584a14f28d50985b..dc6fadf7b70c3dea917d1dd9fd8b2b245d4c99ad 100644 (file)
@@ -20,7 +20,7 @@ default_attributes(
     :cache => {
       :proxy => {
         :enable => true,
-        :keys_zone => "proxy_cache_zone:64M",
+        :keys_zone => "proxy_cache_zone:128M"
       }
     }
   },
@@ -74,6 +74,15 @@ default_attributes(
         "kernel.sched_wakeup_granularity_ns" => "15000000"
       }
     }
+  },
+  :tools => {
+    :cron => {
+      :load => {
+        :nice => 19,
+        :io_scheduling_class => "best-effort",
+        :io_scheduling_priority => 7
+      }
+    }
   }
 )