Merge branch '5562-pycurl-upload' closes #5562
[arvados.git] / services / api / config / application.default.yml
index e7dbf29c59ff1f5093a5fafd62b46ca0c66ae809..006ac55e470ee17e8ec42027984d453def0673f0 100644 (file)
@@ -276,6 +276,16 @@ common:
   # 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.