Fix hang when calling Coinbase
This commit is contained in:
parent
ec460e3350
commit
0c4f111468
|
@ -63,7 +63,7 @@ namespace Core.Main
|
||||||
private Dictionary<string, List<MarketTrendChange>> _globalMarketTrendChanges = new Dictionary<string, List<MarketTrendChange>>();
|
private Dictionary<string, List<MarketTrendChange>> _globalMarketTrendChanges = new Dictionary<string, List<MarketTrendChange>>();
|
||||||
private Dictionary<string, int> _singleMarketSettingsCount = new Dictionary<string, int>();
|
private Dictionary<string, int> _singleMarketSettingsCount = new Dictionary<string, int>();
|
||||||
Dictionary<string, List<SingleMarketSetting>> _triggeredSingleMarketSettings = new Dictionary<string, List<SingleMarketSetting>>();
|
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
|
public LogHelper Log
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,6 +26,7 @@ namespace Core.MarketAnalyzer
|
||||||
request.ContentType = "application/json";
|
request.ContentType = "application/json";
|
||||||
request.UserAgent = "PTMagic.Import";
|
request.UserAgent = "PTMagic.Import";
|
||||||
request.KeepAlive = true;
|
request.KeepAlive = true;
|
||||||
|
request.Timeout = 60000;
|
||||||
|
|
||||||
HttpWebResponse httpResponse = null;
|
HttpWebResponse httpResponse = null;
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ using Core.Helper;
|
||||||
using Core.Main.DataObjects.PTMagicData;
|
using Core.Main.DataObjects.PTMagicData;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("2.2.6")]
|
[assembly: AssemblyVersion("2.2.7")]
|
||||||
[assembly: AssemblyProduct("PT Magic")]
|
[assembly: AssemblyProduct("PT Magic")]
|
||||||
|
|
||||||
namespace PTMagic
|
namespace PTMagic
|
||||||
|
|
Loading…
Reference in New Issue