mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-23 08:36:41 +00:00
fix(default-config): don't enable low load average feature by default
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
+10
-6
@@ -82,12 +82,16 @@ bots:
|
|||||||
weight:
|
weight:
|
||||||
adjust: 20
|
adjust: 20
|
||||||
|
|
||||||
# If it is not, remove weight.
|
## If your backend service is running on the same operating system as Anubis,
|
||||||
- name: low-load-average
|
## you can uncomment this rule to make the challenge easier when the system is
|
||||||
action: WEIGH
|
## under low load.
|
||||||
expression: load_15m <= 4.0 # make sure to end the load comparison in a .0
|
##
|
||||||
weight:
|
## If it is not, remove weight.
|
||||||
adjust: -10
|
# - name: low-load-average
|
||||||
|
# action: WEIGH
|
||||||
|
# expression: load_15m <= 4.0 # make sure to end the load comparison in a .0
|
||||||
|
# weight:
|
||||||
|
# adjust: -10
|
||||||
|
|
||||||
# Generic catchall rule
|
# Generic catchall rule
|
||||||
- name: generic-browser
|
- name: generic-browser
|
||||||
|
|||||||
Reference in New Issue
Block a user