Skip to content

Commit a1ae146

Browse files
committed
installer: enable FSCache by default, ignoring previous settings
Most users simply click through the installer and do not benefit from our previous change that made FSCache enabled by default, because during an upgrade the previous setting (which was disabled by default) would be replayed. Let's skip replaying the previous setting for a couple of releases so that users get to benefit from the FSCache speedup. Pointed out by Buck Hodges. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3bd2194 commit a1ae146

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

installer/install.iss

+1-8
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ begin
10161016
Height:=ScaleY(17);
10171017
Font.Style:=[fsBold];
10181018
TabOrder:=0;
1019-
Checked:=False;
1019+
Checked:=True;
10201020
end;
10211021
LblFSCache:=TLabel.Create(ExtraOptionsPage);
10221022
with LblFSCache do begin
@@ -1031,13 +1031,6 @@ begin
10311031
Height:=ScaleY(39);
10321032
end;
10331033
1034-
// Restore the settings chosen during a previous install.
1035-
Data:=ReplayChoice('Performance Tweaks FSCache','Enabled');
1036-
1037-
if Data='Enabled' then begin
1038-
RdbExtraOptions[GP_FSCache].Checked:=True;
1039-
end;
1040-
10411034
// 2nd option
10421035
RdbExtraOptions[GP_GCM]:=TCheckBox.Create(ExtraOptionsPage);
10431036
with RdbExtraOptions[GP_GCM] do begin

0 commit comments

Comments
 (0)