mangadex_at_home/settings.sample.json

22 lines
1.1 KiB
JSON
Raw Normal View History

{
"client_secret": "nosenpaithisisoursecret",
2020-06-22 16:26:14 +00:00
"client_hostname": "0.0.0.0", // "0.0.0.0" is the default and binds to everything
"client_port": 443, // 443 is recommended if possible
"client_external_port": 0, //443 is recommended; This port will be send to mdah-backend.
2020-07-04 15:36:08 +00:00
//You need to forward this to the client_port in your router - 0 uses `client_port`
"threads": 16,
2020-06-22 16:26:14 +00:00
"graceful_shutdown_wait_seconds": 60, // Time from graceful shutdown start to force quit
// This rounds down to 15-second increments
"max_cache_size_in_mebibytes": 80000,
2020-06-22 16:26:14 +00:00
"max_kilobits_per_second": 0, // 0 disables max brust limiting
"max_mebibytes_per_hour": 0, // 0 disables hourly bandwidth limiting
2020-06-22 17:13:30 +00:00
"web_settings": { //delete this block to disable webui
"ui_hostname": "127.0.0.1", // "127.0.0.1" is the default and binds to localhost only
"ui_port": 8080
2020-07-09 04:57:55 +00:00
},
"experimential": {
"max_buffer_size_for_cache_hit": 0 // Size is n * 8kiB. ~8Kib is the JDK default.
// May improve diskIO at the cost of memory pressue. Testing needed
}
}