Repository navigation
Preload and keepalive: copy settings when config loads, delete sample files - #22
Merged
Abdullah-Masood-05 merged 1 commit intoNov 28, 2026
Merged
Conversation
…ete the sample files - The preload thread and Created() read Initializer::instance->cache, which a config reload deletes. Warm::ConfigLoaded() now copies preload.enabled, preload.types and keepalive on the loading thread, ConfigUnloaded() clears them, and Warm only reads that copy. - The preload deletes its sample.<ext> files and their folder in %TEMP% when it finishes.
Abdullah-Masood-05
merged commit Nov 28, 2026
8b2d1b0
into
Abdullah-Masood-05:prs/2.3.2
1 check passed
Abdullah-Masood-05
added a commit
that referenced
this pull request
Nov 28, 2026
…e copy their settings when the config loads, delete the sample files
Abdullah-Masood-05
added a commit
that referenced
this pull request
Nov 28, 2026
Owner
|
Merged, thank you @alchemyyy! Copying the settings when the config loads is a clean way to close that race, and the sample files are cleaned up nicely. I added one small commit on top (ff8ffdb). The preload now also takes the config file's path from that same copy, so it no longer reads It's in 2.3.2 beta 3, which is building now and should be out in about 20 minutes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #19