blob: 4c2ea8019ad4607ff221824a6a35811fe05dfa70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
namespace StardewModdingAPI.Web.Framework.ConfigModels
{
/// <summary>Indicates a storage mechanism to use.</summary>
internal enum StorageMode
{
/// <summary>Store data in a hosted MongoDB instance.</summary>
Mongo,
/// <summary>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.</summary>
MongoInMemory,
/// <summary>Store data in-memory. This is suitable for local testing or single-instance servers, but will cause issues when distributed across multiple servers.</summary>
InMemory
}
}
|