From 1a2b10ae8e6892d141a6c387a1ce311c96450e9c Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Oct 31 2019 10:24:40 +0000 Subject: More default values in example kojihub.conf Fixes: https://pagure.io/koji/issue/1661 --- diff --git a/hub/hub.conf b/hub/hub.conf index ba365ed..a538595 100644 --- a/hub/hub.conf +++ b/hub/hub.conf @@ -6,7 +6,7 @@ ## Note that multiline values can be set by indenting subsequent lines ## (which means you should not indent regular lines) -## Basic options ## +## Basic options ## DBName = koji DBUser = koji #DBHost = db.example.com @@ -14,6 +14,9 @@ DBUser = koji #DBPass = example_password KojiDir = /mnt/koji +## Auth-related options ## +# Use user IP in session management +# CheckClientIP = True ## Kerberos authentication options ## @@ -55,6 +58,28 @@ NotifyOnSuccess = True ## Disables all notifications # DisableNotifications = False +## Resource limits ## +## All standard RLIMIT_* can be set here +# RLIMIT_AS = +# RLIMIT_CORE = +# RLIMIT_CPU = +# RLIMIT_DATA = +# RLIMIT_FSIZE = +# RLIMIT_MEMLOCK = +# RLIMIT_NOFILE = +# RLIMIT_NPROC = +# RLIMIT_OFILE = +# RLIMIT_RSS = +# RLIMIT_STACK = + +## If memory consumption raises during handling request for more +## than MemoryWarnThreshold kilobytes, warning is emitted to log +# MemoryWarnThreshold = 5000 + +## Maximum request length can be limited on python-side +# MaxRequestLength = 4194304 + + ## Extended features ## Support Maven builds # EnableMaven = False @@ -71,7 +96,25 @@ NotifyOnSuccess = True ## details to clients for anticipated errors (i.e. koji's own exceptions -- ## subclasses of koji.GenericError). # KojiDebug = On - +# +## You can call any function in hub (not only API). This is +## dangerous and should be never enabled in production. +# EnableFunctionDebug = False +# +## Log level/format for python logging module at hub +# LogLevel = WARNING +# LogFormat = %(asctime)s [%(levelname)s] m=%(method)s u=%(user_name)s p=%(process)s r=%(remoteaddr)s %(name)s: %(message)s' +# +# +## If VerbosePolicy (or KojiDebug) is on, 'policy violation' +## messages will contain also policy rule which caused this denial +## VerbosePolicy = False +# +## If MissingPolicyOk is on, and given policy is not set up, +## policy test will pass as ok. If 'deny' result is desired, set it +## to off +# MissingPolicyOk = True +# ## Determines how much detail about exceptions is reported to the client (via faults) ## Meaningful values: ## normal - a basic traceback (format_exception)