Selaa lähdekoodia

Add config structure for resource limits (commit cea8141b)

master
JustAnotherArchivist 3 vuotta sitten
vanhempi
commit
7b9d6f80fc
1 muutettua tiedostoa jossa 10 lisäystä ja 0 poistoa
  1. +10
    -0
      config.example.toml

+ 10
- 0
config.example.toml Näytä tiedosto

@@ -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]


Ladataan…
Peruuta
Tallenna