config: fix mb param.
This commit is contained in:
parent
6fde0fd7d8
commit
a630d23a97
@ -489,7 +489,7 @@ Config.prototype.mb = function mb(key, fallback) {
|
|||||||
if (value === null)
|
if (value === null)
|
||||||
return fallback;
|
return fallback;
|
||||||
|
|
||||||
return value * 1024;
|
return value * 1024 * 1024;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user