add more options
This commit is contained in:
@@ -64,6 +64,11 @@
|
|||||||
# support in Gitea.
|
# support in Gitea.
|
||||||
# @param [String] ga_public_url_detection The method for public URL detection
|
# @param [String] ga_public_url_detection The method for public URL detection
|
||||||
# in Gitea. Options are 'auto', 'legacy', and 'none'.
|
# 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 (
|
class confdroid_gitea::params (
|
||||||
|
|
||||||
@@ -84,7 +89,10 @@ class confdroid_gitea::params (
|
|||||||
String $ga_lfs_jwt_secret = 'ChangeMeLFSJWTSecret',
|
String $ga_lfs_jwt_secret = 'ChangeMeLFSJWTSecret',
|
||||||
Boolean $ga_use_proxy_protocol = false,
|
Boolean $ga_use_proxy_protocol = false,
|
||||||
String $ga_public_url_detection = 'auto',
|
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
|
# database
|
||||||
String $ga_db_type = 'postgres',
|
String $ga_db_type = 'postgres',
|
||||||
String $ga_db_host = 'localhost',
|
String $ga_db_host = 'localhost',
|
||||||
|
|||||||
@@ -94,4 +94,7 @@ NAME = <%= @ga_instance_name %>
|
|||||||
[oauth2]
|
[oauth2]
|
||||||
JWT_SECRET = <%= @ga_jwt_secret %>
|
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