diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-02 00:31:47 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-10-02 00:31:47 -0400 |
| commit | 911d9f4598e4cafe24a8eb6d40a0d95356d3437c (patch) | |
| tree | f388b7f2873f1111f77620a04a9e4605effb481d /MediaBrowser.Server.Implementations/Session/SessionManager.cs | |
| parent | 1454e07c545997ca142e993cfe435987705309d7 (diff) | |
move more metadata settings to per library
Diffstat (limited to 'MediaBrowser.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Session/SessionManager.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Session/SessionManager.cs b/MediaBrowser.Server.Implementations/Session/SessionManager.cs index d2bdee9fa..2fcc76588 100644 --- a/MediaBrowser.Server.Implementations/Session/SessionManager.cs +++ b/MediaBrowser.Server.Implementations/Session/SessionManager.cs @@ -242,8 +242,7 @@ namespace MediaBrowser.Server.Implementations.Session var userLastActivityDate = user.LastActivityDate ?? DateTime.MinValue; user.LastActivityDate = activityDate; - // Don't log in the db anymore frequently than 10 seconds - if ((activityDate - userLastActivityDate).TotalSeconds > 10) + if ((activityDate - userLastActivityDate).TotalSeconds > 60) { try { |
