[ARVADOS] updated: 0bef99f422b367c5a36dc0e14bab0a1a64337088
git at public.curoverse.com
git at public.curoverse.com
Thu Apr 23 14:32:21 EDT 2015
Summary of changes:
services/api/config/application.default.yml | 8 ++++----
services/api/lib/tasks/delete_old_job_logs.rake | 4 ++++
2 files changed, 8 insertions(+), 4 deletions(-)
via 0bef99f422b367c5a36dc0e14bab0a1a64337088 (commit)
from da15fc09633adad5813a47558e879bded5f2b2d5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 0bef99f422b367c5a36dc0e14bab0a1a64337088
Author: Brett Smith <brett at curoverse.com>
Date: Thu Apr 23 14:25:36 2015 -0400
5554: Fixup documentation per code review.
diff --git a/services/api/config/application.default.yml b/services/api/config/application.default.yml
index a07a23f..2c69325 100644
--- a/services/api/config/application.default.yml
+++ b/services/api/config/application.default.yml
@@ -279,7 +279,7 @@ common:
# When you run the db:delete_old_job_logs task, it will find jobs that
# have been finished for at least this many seconds, and delete their
# stderr logs from the logs table.
- # If a single job in a pipeline runs longer than this, client applications
- # like Workbench will lose the ability to display logs from prior jobs
- # in the pipeline.
- clean_job_log_rows_after: <%= 7.days %>
+ # If a pipeline runs longer than this, client applications like
+ # Workbench will lose the ability to display logs from jobs in the
+ # pipeline that finished this long ago.
+ clean_job_log_rows_after: <%= 30.days %>
diff --git a/services/api/lib/tasks/delete_old_job_logs.rake b/services/api/lib/tasks/delete_old_job_logs.rake
index a9f3480..7f2b31e 100644
--- a/services/api/lib/tasks/delete_old_job_logs.rake
+++ b/services/api/lib/tasks/delete_old_job_logs.rake
@@ -1,3 +1,7 @@
+# This task finds jobs that have been finished for at least as long as
+# the duration specified in the `clean_job_log_rows_after`
+# configuration setting, and deletes their stderr logs from the logs table.
+
namespace :db do
desc "Remove old job stderr entries from the logs table"
task delete_old_job_logs: :environment do
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list