summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-23 19:25:34 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2020-05-23 19:25:34 -0400
commitd7add894419543667e60569bfeb439e8e797a4d1 (patch)
tree0b0b53e6ac306f1549951abe806bded7f9236bd1 /src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs
parent9aba50451b617e1af8215358afda22c8105477f2 (diff)
downloadSMAPI-d7add894419543667e60569bfeb439e8e797a4d1.tar.gz
SMAPI-d7add894419543667e60569bfeb439e8e797a4d1.tar.bz2
SMAPI-d7add894419543667e60569bfeb439e8e797a4d1.zip
drop MongoDB code
MongoDB support unnecessarily complicated the code and there's no need to run distributed servers in the foreseeable future. This keeps the abstract storage interface so we can wrap a distributed cache in the future.
Diffstat (limited to 'src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs')
-rw-r--r--src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs b/src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs
deleted file mode 100644
index 4c2ea801..00000000
--- a/src/SMAPI.Web/Framework/ConfigModels/StorageMode.cs
+++ /dev/null
@@ -1,15 +0,0 @@
-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
- }
-}