Skip to content

Commit 50399ae

Browse files
author
pandamicro
committed
Improve log and preset value for cc.CONCURRENCY_HTTP_REQUEST_COUNT
1 parent a9cba77 commit 50399ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cocos2d/core/platform/CCMacro.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,10 +499,11 @@ cc.ORIENTATION_AUTO = 3;
499499

500500
/**
501501
* The limit count for concurrency http request, useful in some mobile browsers
502+
* Adjust its value with the test results based on your game, the preset value is just a placeholder
502503
* @constant
503504
* @type Number
504505
*/
505-
cc.CONCURRENCY_HTTP_REQUEST_COUNT = cc.sys.isMobile ? 9 : 0;
506+
cc.CONCURRENCY_HTTP_REQUEST_COUNT = cc.sys.isMobile ? 20 : 0;
506507

507508

508509
// ------------------- vertex attrib flags -----------------------------

0 commit comments

Comments
 (0)