mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
26 lines
837 B
C#
26 lines
837 B
C#
using System.Collections.Generic;
|
|
|
|
namespace Jellyfin.Database.Implementations.DbConfiguration;
|
|
|
|
/// <summary>
|
|
/// Options to configure jellyfins managed database.
|
|
/// </summary>
|
|
public class DatabaseConfigurationOptions
|
|
{
|
|
/// <summary>
|
|
/// Gets or Sets the type of database jellyfin should use.
|
|
/// </summary>
|
|
public required string DatabaseType { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the options required to use a custom database provider.
|
|
/// </summary>
|
|
public CustomDatabaseOptions? CustomProviderOptions { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or Sets the kind of locking behavior jellyfin should perform. Possible options are "NoLock", "Pessimistic", "Optimistic".
|
|
/// Defaults to "NoLock".
|
|
/// </summary>
|
|
public DatabaseLockingBehaviorTypes LockingBehavior { get; set; }
|
|
}
|