Fix hang when calling Coinbase

This commit is contained in:
djbadders 2019-08-31 17:14:27 +01:00
parent ec460e3350
commit 0c4f111468
3 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ namespace Core.Main
private Dictionary<string, List<MarketTrendChange>> _globalMarketTrendChanges = new Dictionary<string, List<MarketTrendChange>>();
private Dictionary<string, int> _singleMarketSettingsCount = new Dictionary<string, int>();
Dictionary<string, List<SingleMarketSetting>> _triggeredSingleMarketSettings = new Dictionary<string, List<SingleMarketSetting>>();
private static readonly object _lockObj = new object();
private static volatile object _lockObj = new object();
public LogHelper Log
{

View File

@ -26,6 +26,7 @@ namespace Core.MarketAnalyzer
request.ContentType = "application/json";
request.UserAgent = "PTMagic.Import";
request.KeepAlive = true;
request.Timeout = 60000;
HttpWebResponse httpResponse = null;

View File

@ -7,7 +7,7 @@ using Core.Helper;
using Core.Main.DataObjects.PTMagicData;
using Microsoft.Extensions.DependencyInjection;
[assembly: AssemblyVersion("2.2.6")]
[assembly: AssemblyVersion("2.2.7")]
[assembly: AssemblyProduct("PT Magic")]
namespace PTMagic