[ARVADOS] created: ae8829d306b3fc459e2d5f2cae4cef2e69c60eb7

git at public.curoverse.com git at public.curoverse.com
Tue Jun 17 13:16:28 EDT 2014


        at  ae8829d306b3fc459e2d5f2cae4cef2e69c60eb7 (commit)


commit ae8829d306b3fc459e2d5f2cae4cef2e69c60eb7
Author: Tim Pierce <twp at curoverse.com>
Date:   Tue Jun 17 13:15:28 2014 -0400

    2934: add crunch-dispatch default settings
    
    Add default values to application.default.yml for:
    * crunch_limit_log_events_per_job
    * crunch_limit_log_event_bytes_per_job
    * crunch_log_bytes_per_event
    * crunch_log_seconds_between_events
    
    Refs #2934.

diff --git a/services/api/config/application.default.yml b/services/api/config/application.default.yml
index f18c89f..827dfe1 100644
--- a/services/api/config/application.default.yml
+++ b/services/api/config/application.default.yml
@@ -68,6 +68,19 @@ common:
   # crunch-job must be able to stat() it.
   crunch_refresh_trigger: /tmp/crunch_refresh_trigger
 
+  # Maximum number of log events that may be generated by a single job.
+  crunch_limit_log_events_per_job: 65536
+
+  # Maximum number of total bytes that may be logged by a single job.
+  crunch_limit_log_event_bytes_per_job: 67108864
+
+  # These two settings control how frequently log events are flushed
+  # to the database.  If a job generates two or more events within
+  # crunch_log_seconds_between_events, the log data is not flushed
+  # until crunch_log_bytes_per_event has been reached.
+  crunch_log_bytes_per_event: 4096
+  crunch_log_seconds_between_events: 1
+
   # Path to /etc/dnsmasq.d, or false = do not update dnsmasq data.
   dnsmasq_conf_dir: false
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list