All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 83bcb17b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Switch to using sitevars for autoswap mode (checkbox checked) and

threshold.
parent ccb46795
......@@ -56,8 +56,8 @@ function INITFORM($formfields, $projlist)
$defaults[exp_idleswap] = "1";
$defaults[exp_noidleswap_reason] = "";
$defaults[exp_idleswap_timeout] = TBGetSiteVar("idle/threshold");
$defaults[exp_autoswap] = "0";
$defaults[exp_autoswap_timeout] = "10";
$defaults[exp_autoswap] = TBGetSiteVar("general/autoswap_mode");
$defaults[exp_autoswap_timeout] = TBGetSiteVar("general/autoswap_threshold");
$defaults[exp_localnsfile] = "";
$defaults[exp_nsfile] = ""; # Multipart data.
$defaults[exp_preload] = "no";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment