aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Security
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-11 16:12:01 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-11 16:12:01 -0400
commitda6e94396fb417077010d3a2e5f3282bf06234c3 (patch)
tree2aa560be2283ab4a6be3198013df460982dee44f /MediaBrowser.Server.Implementations/Security
parent96b1ddfddf43cdc4d18d1de0f49027ae6f0ea1ac (diff)
update connection pooling
Diffstat (limited to 'MediaBrowser.Server.Implementations/Security')
-rw-r--r--MediaBrowser.Server.Implementations/Security/AuthenticationRepository.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Implementations/Security/AuthenticationRepository.cs b/MediaBrowser.Server.Implementations/Security/AuthenticationRepository.cs
index 3013510de..74a552dcc 100644
--- a/MediaBrowser.Server.Implementations/Security/AuthenticationRepository.cs
+++ b/MediaBrowser.Server.Implementations/Security/AuthenticationRepository.cs
@@ -32,12 +32,7 @@ namespace MediaBrowser.Server.Implementations.Security
string[] queries = {
"create table if not exists AccessTokens (Id GUID PRIMARY KEY, AccessToken TEXT NOT NULL, DeviceId TEXT, AppName TEXT, AppVersion TEXT, DeviceName TEXT, UserId TEXT, IsActive BIT, DateCreated DATETIME NOT NULL, DateRevoked DATETIME)",
- "create index if not exists idx_AccessTokens on AccessTokens(Id)",
-
- //pragmas
- "pragma temp_store = memory",
-
- "pragma shrink_memory"
+ "create index if not exists idx_AccessTokens on AccessTokens(Id)"
};
connection.RunQueries(queries, Logger);