diff options
| author | Patrick Barron <barronpm@gmail.com> | 2020-08-07 13:22:18 -0400 |
|---|---|---|
| committer | Patrick Barron <barronpm@gmail.com> | 2020-08-07 13:22:18 -0400 |
| commit | bea519de5b78f03f44fe04a4231a63838a010594 (patch) | |
| tree | 3c87765f60892e2d0f45a888a101cfec2e68a0d1 /Emby.Server.Implementations/Devices | |
| parent | c82b26a4b1c0a33dc811e228e97dcb7f9c86e2c1 (diff) | |
Fix MemoryCache Usage.
Diffstat (limited to 'Emby.Server.Implementations/Devices')
| -rw-r--r-- | Emby.Server.Implementations/Devices/DeviceManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.cs index 2921a7f0e..cc4b407f5 100644 --- a/Emby.Server.Implementations/Devices/DeviceManager.cs +++ b/Emby.Server.Implementations/Devices/DeviceManager.cs @@ -53,7 +53,7 @@ namespace Emby.Server.Implementations.Devices lock (_capabilitiesSyncLock) { - _memoryCache.CreateEntry(deviceId).SetValue(capabilities); + _memoryCache.Set(deviceId, capabilities); _json.SerializeToFile(capabilities, path); } } |
