mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
(conf) Improve naming consistency
Rename the property system.conserve-memory to system.conserveMemory in order to be consistent with other properties in the system.
This commit is contained in:
parent
b15f47d80e
commit
1188fe3bf0
@ -25,7 +25,7 @@ public interface RandomFileAssembler extends AutoCloseable {
|
|||||||
static RandomFileAssembler create(Path workDir,
|
static RandomFileAssembler create(Path workDir,
|
||||||
long totalSize) throws IOException {
|
long totalSize) throws IOException {
|
||||||
// If the system is configured to conserve memory, we use temp files
|
// If the system is configured to conserve memory, we use temp files
|
||||||
if (Boolean.getBoolean("system.conserve-memory")) {
|
if (Boolean.getBoolean("system.conserveMemory")) {
|
||||||
return ofTempFiles(workDir, totalSize);
|
return ofTempFiles(workDir, totalSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user