Skip to content

Commit b5141d3

Browse files
author
Ellan Jiang
authored
Merge pull request #37 from EllanJiang/v2019.2
V2019.2.1
2 parents 9931766 + 8bf0279 commit b5141d3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

GameFramework/Base/Version/Version.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

GameFramework/Download/DownloadManager.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)