aboutsummaryrefslogtreecommitdiff
path: root/etc/brep-module.conf
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-04-04 20:53:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-04-19 22:16:46 +0300
commitdbbc19b77dcf6ea828aabd64d7aa8cab9635aaf5 (patch)
treec0b9b449b7064dff3613628022224e6c18148c3e /etc/brep-module.conf
parentefb9c3e0e6b612d5bfadc7a2b984c14b5439335c (diff)
Implement build task, result and log requests handling
Diffstat (limited to 'etc/brep-module.conf')
-rw-r--r--etc/brep-module.conf81
1 files changed, 66 insertions, 15 deletions
diff --git a/etc/brep-module.conf b/etc/brep-module.conf
index 760d4ce..1d9d56d 100644
--- a/etc/brep-module.conf
+++ b/etc/brep-module.conf
@@ -26,7 +26,7 @@ menu About=?about
# Number of pages in navigation (pager).
#
-# search-pages 5
+# search-pages 5
# Number of package description characters to display in brief pages.
@@ -36,31 +36,82 @@ menu About=?about
# Number of package changes characters to display in brief pages.
#
-# package-changes 5000
+# package-changes 5000
-# Database connection configuration. By default, brep will try to connect to
-# the local instance of PostgreSQL with the operating system-default mechanism
-# (Unix-domain socket, etc) and use operating system (login) user name and the
-# database called 'brep'. See brep(1) for details.
+# The package database connection configuration. By default, brep will try to
+# connect to the local instance of PostgreSQL with the operating system-default
+# mechanism (Unix-domain socket, etc) and use operating system (login) user
+# name and the database called 'brep_package'. See brep(1) for details.
#
-# db-user
-# db-password
-# db-name brep
-# db-host
-# db-port
+# package-db-user
+# package-db-password
+# package-db-name brep_package
+# package-db-host
+# package-db-port
-# The maximum number of concurrent database connections per web server
+# The maximum number of concurrent package database connections per web server
# process. If 0, then no limitation is applied.
#
-# db-max-connections 5
+# package-db-max-connections 5
-# The maximum number of times to retry database transactions in the
+# The maximum number of times to retry package database transactions in the
# face of recoverable failures (deadlock, loss of connection, etc).
#
-# db-retry 10
+# package-db-retry 10
+
+
+# Build configuration file. If not specified (default), then the package
+# building functionality will be disabled. If specified, then the build
+# database must be configured (see next). Note: must be an absolute path.
+#
+# build-config
+
+# The maximum size of the build task request manifest accepted. Note that the
+# HTTP POST request body is cached to retry database transactions in the face
+# of recoverable failures (deadlock, loss of connection, etc). Default is
+# 100K.
+#
+# build-task-request-max-size 102400
+
+
+# Time to wait before considering the expected task result lost. Must be
+# specified in seconds. Default is 3 hours.
+#
+# build-result-timeout 10800
+
+
+# The maximum size of the build result manifest accepted. Note that the HTTP
+# POST request body is cached to retry database transactions in the face of
+# recoverable failures (deadlock, loss of connection, etc). Default is 10M
+#
+# build-result-request-max-size 10485760
+
+
+# The build database connection configuration. By default, brep will try to
+# connect to the local instance of PostgreSQL with the operating system-default
+# mechanism (Unix-domain socket, etc) and use operating system (login) user
+# name and the database called 'brep_build'. See brep(1) for details.
+#
+# build-db-user
+# build-db-password
+# build-db-name brep_build
+# build-db-host
+# build-db-port
+
+
+# The maximum number of concurrent build database connections per web server
+# process. If 0, then no limitation is applied.
+#
+# build-db-max-connections 5
+
+
+# The maximum number of times to retry build database transactions in the
+# face of recoverable failures (deadlock, loss of connection, etc).
+#
+# build-db-retry 10
# Trace verbosity. Disabled by default.