[Coding] Lots of configuration files are not live-reloadable - Printable Version +- Discovery Gaming Community (https://discoverygc.com/forums) +-- Forum: Discovery Development (https://discoverygc.com/forums/forumdisplay.php?fid=7) +--- Forum: Discovery Mod General Discussion (https://discoverygc.com/forums/forumdisplay.php?fid=37) +---- Forum: Discovery Mod Bug Reports (https://discoverygc.com/forums/forumdisplay.php?fid=573) +---- Thread: [Coding] Lots of configuration files are not live-reloadable (/showthread.php?tid=199812) |
[Coding] Lots of configuration files are not live-reloadable - Alex. - 10-23-2023 Type: Coding Bug: We have a lot of FLHook plugin configuration files kicking around in the flhook_plugins directory which as staff we like to change, but often need to wait for server restart in order for the changes to take effect. Imagine for a minute a world in which all the performance problems associated with running FLServer without restarting it for days, weeks, or dare I say months on end (as I write this, the game VM has an uptime over 70 days), just magically vanished. We'd be pretty screwed in terms of implementing player requests and fixes if we couldn't live-reload our configs. The legendary "rehash" command technically *can* do this, but due in part to https://discoverygc.com/forums/showthread.php?tid=199811 (which I think will result in some plugins being marked as known unsafe to reload), nobody is mad enough to run it. Instead we have commands like reloadbans, reloadlockedships, reloadclientupdates, reloadnpcbounties, reloadnpcdrops, Note that I don't think we need these in plugins which https://discoverygc.com/forums/showthread.php?tid=199811 ends up designating as safely reloadable. |