Commit Graph

3 Commits

Author SHA1 Message Date
Andrey Meshkov
b3a68bb806 * (global): added --no-mem-optimization flag
This commit adds a new command-line argument that disables memory
optimizations AGH is using. These memory optimizations might be
necessary on low-memory devices, but they aren't free and there's a
performance hit (see #2044). Now they can be disabled - just pass
--no-mem-optimization when you run AGH or when you install the service
-- ./AdGuardHome -s install --no-mem-optimization

Closes: #2044
2020-09-11 13:19:37 +03:00
David Sheets
d3428ca46c home/options: add options -> args serialization 2020-09-07 09:54:20 +01:00
David Sheets
03506df25d cli: factor options struct and parsing into home/options.go 2020-09-07 09:10:56 +01:00