Web: in computing prefs, move swap limit to Disk section

This commit is contained in:
David Anderson 2022-08-06 21:07:07 -07:00
parent 7d24c0214f
commit 588ab8fdfa
1 changed files with 7 additions and 7 deletions

View File

@ -177,13 +177,6 @@ $job_prefs = [
tra("Compute only during a particular period each day."),
"start_hour", "end_hour"
),
new PREF_NUM(
tra("Page/swap file: use at most"),
tra("Limit the swap space (page file) used by BOINC."),
"vm_max_used_pct",
// xgettext:no-php-format
new NUM_SPEC(tra("%"), 1, 100, 75)
),
];
$dp = get_disk_space_config();
@ -208,6 +201,13 @@ $disk_prefs = array(
// xgettext:no-php-format
new NUM_SPEC(tra("% of total"), 0, 100, $dp->disk_max_used_pct)
),
new PREF_NUM(
tra("Page/swap file: use at most"),
tra("Limit the swap space (page file) used by BOINC."),
"vm_max_used_pct",
// xgettext:no-php-format
new NUM_SPEC(tra("%"), 1, 100, 75)
),
);
$net_prefs = array(