Skip to content

Commit

Permalink
changed watching filter to hours - default value 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Ruepp committed Aug 7, 2017
1 parent 8120d1a commit 1942787
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion EveChatNotifier/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private void T_Tick(object sender, EventArgs e)
}

// only add logfiles which are last modified in the past X hour
if ((DateTime.Now - System.IO.File.GetLastWriteTime(curLogFile)).TotalMinutes > Properties.Settings.Default.MaxAgeForWatchingLogs)
if ((DateTime.Now - System.IO.File.GetLastWriteTime(curLogFile)).TotalHours > Properties.Settings.Default.MaxAgeForWatchingLogs)
{
continue;
}
Expand Down
4 changes: 2 additions & 2 deletions EveChatNotifier/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.2.0")]
[assembly: AssemblyFileVersion("1.3.2.0")]
[assembly: AssemblyVersion("1.3.3.0")]
[assembly: AssemblyFileVersion("1.3.3.0")]
2 changes: 1 addition & 1 deletion EveChatNotifier/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion EveChatNotifier/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="MaxAgeForWatchingLogs" Type="System.Int32" Scope="Application">
<Value Profile="(Default)">30</Value>
<Value Profile="(Default)">8</Value>
</Setting>
</Settings>
</SettingsFile>
2 changes: 1 addition & 1 deletion EveChatNotifier/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<value>True</value>
</setting>
<setting name="MaxAgeForWatchingLogs" serializeAs="String">
<value>30</value>
<value>8</value>
</setting>
</EveChatNotifier.Properties.Settings>
</applicationSettings>
Expand Down

0 comments on commit 1942787

Please sign in to comment.