Skip to content

Commit b941a76

Browse files
committed
fix type map.max_concurrency #53
1 parent ae5ea2e commit b941a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/states/map.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ MapState.prototype.expJSON = function (cell, cells) {
5252
if (cell.getAttribute("items_path"))
5353
data[label].ItemsPath = awssfUtils.adjustJsonPath(cell.getAttribute("items_path"));
5454
if (cell.getAttribute("max_concurrency"))
55-
data[label].MaxConcurrency = cell.getAttribute("max_concurrency");
55+
data[label].MaxConcurrency = Number(cell.getAttribute("max_concurrency"));
5656

5757
let start;
5858
for(const i in cell.children) {

0 commit comments

Comments
 (0)