]> git.arvados.org - arvados.git/commit
2934: add limits for crunch job log generation.
authorTim Pierce <twp@curoverse.com>
Tue, 10 Jun 2014 14:37:35 +0000 (10:37 -0400)
committerTim Pierce <twp@curoverse.com>
Thu, 12 Jun 2014 14:36:31 +0000 (10:36 -0400)
commit4a72800f68ab43d2ed50895fa4ce83e512b4719b
tree74a30a4265a2417205131827573485e33665035e
parentbba95a22451284c2d4d6787cd2e3fa98c3c21cdf
2934: add limits for crunch job log generation.

* crunch_limit_log_events_per_job
* crunch_limit_log_event_bytes_per_job

  Limit the number of events a job may log, and the total number of
  bytes a job may log.

* crunch_log_bytes_per_event
* crunch_log_seconds_between_events

  Set minimum logging thresholds: event logs will only be flushed to the
  database when at least crunch_log_bytes_per_event have been generated,
  or crunch_log_seconds_between_events have passed.

Integration test CrunchDispatchTest exercised creating a job.

Refs #2934.
services/api/script/crunch-dispatch.rb
services/api/test/integration/crunch_dispatch_test.rb [new file with mode: 0644]
services/api/test/test.git.tar