aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Data/SynchronousMode.cs
diff options
context:
space:
mode:
authorJPVenson <6794763+JPVenson@users.noreply.github.com>2024-10-08 19:53:26 +0000
committerJPVenson <6794763+JPVenson@users.noreply.github.com>2024-10-08 19:53:26 +0000
commit15bf43e3adc69fc0ec5413e81a20b1f0d5dccd5c (patch)
treeeef480ca4ae6a452677a3417c8bdaf51cc4d4863 /Emby.Server.Implementations/Data/SynchronousMode.cs
parent6acd146d17691d1fd58e8a110425cf1d7e2cdc44 (diff)
Removed BaseSqliteRepository
Diffstat (limited to 'Emby.Server.Implementations/Data/SynchronousMode.cs')
-rw-r--r--Emby.Server.Implementations/Data/SynchronousMode.cs30
1 files changed, 0 insertions, 30 deletions
diff --git a/Emby.Server.Implementations/Data/SynchronousMode.cs b/Emby.Server.Implementations/Data/SynchronousMode.cs
deleted file mode 100644
index cde524e2e..000000000
--- a/Emby.Server.Implementations/Data/SynchronousMode.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-namespace Emby.Server.Implementations.Data;
-
-/// <summary>
-/// The disk synchronization mode, controls how aggressively SQLite will write data
-/// all the way out to physical storage.
-/// </summary>
-public enum SynchronousMode
-{
- /// <summary>
- /// SQLite continues without syncing as soon as it has handed data off to the operating system.
- /// </summary>
- Off = 0,
-
- /// <summary>
- /// SQLite database engine will still sync at the most critical moments.
- /// </summary>
- Normal = 1,
-
- /// <summary>
- /// SQLite database engine will use the xSync method of the VFS
- /// to ensure that all content is safely written to the disk surface prior to continuing.
- /// </summary>
- Full = 2,
-
- /// <summary>
- /// EXTRA synchronous is like FULL with the addition that the directory containing a rollback journal
- /// is synced after that journal is unlinked to commit a transaction in DELETE mode.
- /// </summary>
- Extra = 3
-}