]> 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 d60617107dcbf4468d781a33e9b58aa46d1813dc..dc6fadf7b70c3dea917d1dd9fd8b2b245d4c99ad 100644 (file)
@@ -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
+      }
+    }
   }
 )