X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/e24125041ad492b45c97feffb33a037c5adda734..fc16c2ebbb92d9b0e52b6435b717f26b9680c7e6:/services/api/config/application.default.yml diff --git a/services/api/config/application.default.yml b/services/api/config/application.default.yml index 0ea685a121..006ac55e47 100644 --- a/services/api/config/application.default.yml +++ b/services/api/config/application.default.yml @@ -275,3 +275,18 @@ common: # Note you must separately configure the upstream web server or proxy to # actually enforce the desired maximum request size on the server side. max_request_size: 134217728 + + # Stop collecting records for an index request after we read this much + # data (in bytes) from large database columns. + # Currently only `GET /collections` respects this parameter, when the + # user requests an index that includes manifest_text. Once the API + # server collects records with a total manifest_text size at or above + # this amount, it returns those results immediately. + # Note this is a threshold, not a limit. Record collection stops + # *after* reading this much data. + max_index_database_read: 134217728 + + # 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. + clean_job_log_rows_after: <%= 30.days %>