Skip to content

Commit

Permalink
installer: enable FSCache by default, ignoring previous settings
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dscho committed Apr 4, 2016
1 parent 3bd2194 commit a1ae146
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions installer/install.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ begin
Height:=ScaleY(17);
Font.Style:=[fsBold];
TabOrder:=0;
Checked:=False;
Checked:=True;
end;
LblFSCache:=TLabel.Create(ExtraOptionsPage);
with LblFSCache do begin
Expand All @@ -1031,13 +1031,6 @@ begin
Height:=ScaleY(39);
end;
// Restore the settings chosen during a previous install.
Data:=ReplayChoice('Performance Tweaks FSCache','Enabled');
if Data='Enabled' then begin
RdbExtraOptions[GP_FSCache].Checked:=True;
end;
// 2nd option
RdbExtraOptions[GP_GCM]:=TCheckBox.Create(ExtraOptionsPage);
with RdbExtraOptions[GP_GCM] do begin
Expand Down

0 comments on commit a1ae146

Please sign in to comment.