Skip to content

Remove redundant memory monitor settings reload call#37

Merged
svtica merged 1 commit intomainfrom
claude/debug-config-reading-gkAuu
Mar 20, 2026
Merged

Remove redundant memory monitor settings reload call#37
svtica merged 1 commit intomainfrom
claude/debug-config-reading-gkAuu

Conversation

@svtica
Copy link
Copy Markdown
Owner

@svtica svtica commented Mar 20, 2026

Summary

Removed a redundant call to LoadMemoryMonitorSettings() from the settings loading workflow in ApplicationContext.

Key Changes

  • Removed the _customScheduler.LoadMemoryMonitorSettings() call from the settings initialization sequence
  • This call was being made immediately after email notification system initialization without any apparent dependency on it

Implementation Details

The removed code was reloading memory monitor and daily restart settings on the scheduler during the settings load operation. This appears to have been redundant, possibly being handled elsewhere in the initialization flow or no longer necessary for the current implementation.

Remove redundant LoadMemoryMonitorSettings() call in
ApplicationContext.LoadSettings(). The CustomScheduler constructor
already loads these settings, so the call in LoadSettings() was
causing a third unnecessary load on every startup. The method
remains callable from MainForm.RefreshSettings() for when users
actually change options.

https://claude.ai/code/session_019Awk1AL8nMfrcMU753RxCd
@svtica svtica merged commit dc2a952 into main Mar 20, 2026
1 check passed
@svtica svtica deleted the claude/debug-config-reading-gkAuu branch March 20, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants