mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-18 01:35:27 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user