Procházet zdrojové kódy

Add config structure for resource limits (commit cea8141b)

master
JustAnotherArchivist před 3 roky
rodič
revize
7b9d6f80fc
1 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. +10
    -0
      config.example.toml

+ 10
- 0
config.example.toml Zobrazit soubor

@@ -25,6 +25,16 @@
#host = '127.0.0.1'
#port = 8080

[web.search]
# Maximum runtime of grep on searches in seconds. 0 disables the time limit.
#maxTime = 10
# Maximum size of the grep output. Output will be truncated at the last newline before this size is reached. 0 disables it.
#maxSize = 1048576 # 1 MiB
# Niceness increment for the grep process; negative values require superuser privileges. 0 keeps the same niceness as irclog.
#nice = 10
# Memory limit for the grep process. 0 disables it.
#maxMemory = 52428800 # 50 MiB

[channels]
# No channels are logged by default.
#[channels.spam]


Načítá se…
Zrušit
Uložit