/// <summary> /// Initializes the PropertyManager. /// Run this only once per server instance. /// </summary> /// <param name="loadDefaultValues">Should we use the DefaultPropertyManager to load the default properties for keys?</param> public static void Initialize(bool loadDefaultValues = true) { PropertyAttributes.Initialize(); if (loadDefaultValues) { DefaultPropertyManager.LoadDefaultProperties(); } LoadPropertiesFromDB(); if (Program.IsRunningInContainer && !GetString("content_folder").Equals("/ace/Content")) { ModifyString("content_folder", "/ace/Content"); } _workerThread = new Timer(300000); _workerThread.Elapsed += DoWork; _workerThread.AutoReset = true; _workerThread.Start(); }