add more options
This commit is contained in:
@@ -64,6 +64,11 @@
|
||||
# support in Gitea.
|
||||
# @param [String] ga_public_url_detection The method for public URL detection
|
||||
# in Gitea. Options are 'auto', 'legacy', and 'none'.
|
||||
# @param [Boolean] ga_qos_enabled Whether to enable QoS support in Gitea.
|
||||
# @param [String] ga_qos_max_waiting The maximum number of waiting requests
|
||||
# for QoS in Gitea.
|
||||
# @param [String] ga_qos_target_wait_time The target wait time for QoS in
|
||||
# Gitea.
|
||||
##############################################################################
|
||||
class confdroid_gitea::params (
|
||||
|
||||
@@ -84,6 +89,9 @@ class confdroid_gitea::params (
|
||||
String $ga_lfs_jwt_secret = 'ChangeMeLFSJWTSecret',
|
||||
Boolean $ga_use_proxy_protocol = false,
|
||||
String $ga_public_url_detection = 'auto',
|
||||
Boolean $ga_qos_enabled = true,
|
||||
String $ga_qos_max_waiting = '100',
|
||||
String $ga_qos_target_wait_time = '250ms',
|
||||
|
||||
# database
|
||||
String $ga_db_type = 'postgres',
|
||||
|
||||
@@ -94,4 +94,7 @@ NAME = <%= @ga_instance_name %>
|
||||
[oauth2]
|
||||
JWT_SECRET = <%= @ga_jwt_secret %>
|
||||
|
||||
|
||||
[qos]
|
||||
ENABLED = <%= @ga_qos_enabled %>
|
||||
MAX_WAITING = <%= @ga_qos_max_waiting %>
|
||||
TARGET_WAIT_TIME = <%= @ga_qos_target_wait_time %>
|
||||
|
||||
Reference in New Issue
Block a user