소스 검색

Add config structure for resource limits (commit cea8141b)

master
JustAnotherArchivist 3 년 전
부모
커밋
7b9d6f80fc
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. +10
    -0
      config.example.toml

+ 10
- 0
config.example.toml 파일 보기

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


불러오는 중...
취소
저장