Convert MOUNT_DEFAULT_TIMEOUT into integer
This commit is contained in:
parent
4ec9ff23f2
commit
78a75e8775
|
|
@ -10,7 +10,7 @@ const FINDMNT_COMMON_OPTIONS = [
|
||||||
"--nofsroot", // prevents unwanted behavior with cifs volumes
|
"--nofsroot", // prevents unwanted behavior with cifs volumes
|
||||||
];
|
];
|
||||||
|
|
||||||
const DEFAULT_TIMEOUT = process.env.MOUNT_DEFAULT_TIMEOUT || 30000;
|
const DEFAULT_TIMEOUT = process.env.MOUNT_DEFAULT_TIMEOUT ? +process.env.MOUNT_DEFAULT_TIMEOUT : 3000;
|
||||||
|
|
||||||
class Mount {
|
class Mount {
|
||||||
constructor(options = {}) {
|
constructor(options = {}) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue