feat(ugc): queue_on_property_save: only queued models are made, a property's are queued when it is saved

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 03:16:56 -05:00
parent 5ad1a75da5
commit 7729d14fa4
4 changed files with 6 additions and 2 deletions

View File

@@ -251,6 +251,7 @@ namespace {
limits.maxMemoryBytes = Setting<uint64_t>("max_memory_mb", 0) * 1024 * 1024;
limits.nice = std::clamp(Setting<int32_t>("worker_nice", 0), 0, 19);
UgcThrottle::ParseHours(Game::config->GetValue("pause_hours"), limits.pauseFromHour, limits.pauseToHour);
limits.queuedOnly = Game::config->GetValue("queue_on_property_save") == "1";
return limits;
}