diff --git a/Core/Main/PTMagic.cs b/Core/Main/PTMagic.cs index 06070ba..73217da 100644 --- a/Core/Main/PTMagic.cs +++ b/Core/Main/PTMagic.cs @@ -63,7 +63,7 @@ namespace Core.Main private Dictionary> _globalMarketTrendChanges = new Dictionary>(); private Dictionary _singleMarketSettingsCount = new Dictionary(); Dictionary> _triggeredSingleMarketSettings = new Dictionary>(); - private static readonly object _lockObj = new object(); + private static volatile object _lockObj = new object(); public LogHelper Log { diff --git a/Core/MarketAnalyzer/BaseAnalyzer.cs b/Core/MarketAnalyzer/BaseAnalyzer.cs index 70648d8..d2522a6 100644 --- a/Core/MarketAnalyzer/BaseAnalyzer.cs +++ b/Core/MarketAnalyzer/BaseAnalyzer.cs @@ -26,6 +26,7 @@ namespace Core.MarketAnalyzer request.ContentType = "application/json"; request.UserAgent = "PTMagic.Import"; request.KeepAlive = true; + request.Timeout = 60000; HttpWebResponse httpResponse = null; diff --git a/PTMagic/Program.cs b/PTMagic/Program.cs index ffa8652..885fb28 100644 --- a/PTMagic/Program.cs +++ b/PTMagic/Program.cs @@ -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