From 5ff4b212e612a7e030e00c7e8083ac6159c2fa3a Mon Sep 17 00:00:00 2001 From: Roger Zander Date: Sun, 25 Mar 2018 11:59:29 +0200 Subject: [PATCH] Update nuget packages --- source/jaindb/Startup.cs | 7 +++++-- source/jaindb/jaindb.csproj | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/source/jaindb/Startup.cs b/source/jaindb/Startup.cs index 6b4658b..8eb5fe9 100644 --- a/source/jaindb/Startup.cs +++ b/source/jaindb/Startup.cs @@ -243,10 +243,13 @@ private void OnStartup() jDB.CosmosDB = new DocumentClient(new Uri(jDB.endpointUrl), jDB.authorizationKey); jDB.CosmosDB.OpenAsync(); - jDB.UseCosmosDB = true; } - catch { } + catch + { + jDB.UseCosmosDB = false; + jDB.UseFileStore = true; + } } if ((int.Parse(Configuration.GetSection("UseFileSystem").Value ?? Configuration.GetSection("jaindb:UseFileSystem").Value) == 1) || (Environment.GetEnvironmentVariable("UseFileSystem") == "1")) diff --git a/source/jaindb/jaindb.csproj b/source/jaindb/jaindb.csproj index 8851024..2b6696b 100644 --- a/source/jaindb/jaindb.csproj +++ b/source/jaindb/jaindb.csproj @@ -13,8 +13,8 @@ https://github.com/rzander/jaindb blockchain json 0.9.0 - 0.9.0.56 - 0.9.0.56 + 0.9.0.57 + 0.9.0.57 jaindb.Program fcfd6c0a-e53c-46cb-8a9d-b786c0579861 @@ -67,7 +67,7 @@ - +