namespace StardewModdingAPI.Web.Framework.ConfigModels
{
/// Indicates a storage mechanism to use.
internal enum StorageMode
{
/// Store data in a hosted MongoDB instance.
Mongo,
/// Store data in an in-memory MongoDB instance. This is useful for testing MongoDB storage locally, but will likely fail when deployed since it needs permission to open a local port.
MongoInMemory,
/// Store data in-memory. This is suitable for local testing or single-instance servers, but will cause issues when distributed across multiple servers.
InMemory
}
}