File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace GameFramework
1212 /// </summary>
1313 public static partial class Version
1414 {
15- private const string GameFrameworkVersionString = "2019.2.0 " ;
15+ private const string GameFrameworkVersionString = "2019.2.1 " ;
1616
1717 private static IVersionHelper s_VersionHelper = null ;
1818
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ namespace GameFramework.Download
1414 /// </summary>
1515 internal sealed partial class DownloadManager : GameFrameworkModule , IDownloadManager
1616 {
17+ private const int OneMegaBytes = 1024 * 1024 ;
18+
1719 private readonly TaskPool < DownloadTask > m_TaskPool ;
1820 private readonly DownloadCounter m_DownloadCounter ;
1921 private int m_FlushSize ;
@@ -30,7 +32,7 @@ public DownloadManager()
3032 {
3133 m_TaskPool = new TaskPool < DownloadTask > ( ) ;
3234 m_DownloadCounter = new DownloadCounter ( 1f , 10f ) ;
33- m_FlushSize = 1024 * 1024 ;
35+ m_FlushSize = OneMegaBytes ;
3436 m_Timeout = 30f ;
3537 m_DownloadStartEventHandler = null ;
3638 m_DownloadUpdateEventHandler = null ;
You can’t perform that action at this time.
0 commit comments