From d0352a7448b17346ad67882cf3df3b1239481d7c Mon Sep 17 00:00:00 2001 From: Tony Holdstock-Brown Date: Tue, 26 Apr 2016 15:20:40 -0700 Subject: [PATCH] Add documentation Signed-off-by: Tony Holdstock-Brown --- docs/configuration.md | 1 + docs/storage-drivers/filesystem.md | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docs/configuration.md b/docs/configuration.md index f9b89febc..7d3a73e36 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -78,6 +78,7 @@ information about each option that appears later in this page. storage: filesystem: rootdirectory: /var/lib/registry + maxthreads: 100 azure: accountname: accountname accountkey: base64encodedaccountkey diff --git a/docs/storage-drivers/filesystem.md b/docs/storage-drivers/filesystem.md index 476edcf5a..fea7ce4a8 100644 --- a/docs/storage-drivers/filesystem.md +++ b/docs/storage-drivers/filesystem.md @@ -16,3 +16,7 @@ An implementation of the `storagedriver.StorageDriver` interface which uses the `rootdirectory`: (optional) The absolute path to a root directory tree in which to store all registry files. The registry stores all its data here so make sure there is adequate space available. Defaults to `/var/lib/registry`. +`maxthreads`: (optional) The maximum number of simultaneous blocking filesystem +operations permitted within the registry. Each operation spawns a new thread and +may cause thread exhaustion issues if many are done in parallel. Defaults to +`100`, and can be no lower than `25`.