diff --git a/package.json b/package.json index 46b7d3608..17da5df6e 100644 --- a/package.json +++ b/package.json @@ -221,7 +221,7 @@ }, "azurite.blobKeepAliveTimeout": { "type": "number", - "default": 5, + "default": 5000, "description": "Blob service keep alive timeout, by default 5000" }, "azurite.queueHost": { @@ -236,7 +236,7 @@ }, "azurite.queueKeepAliveTimeout": { "type": "number", - "default": 5, + "default": 5000, "description": "Queue service keep alive timeout, by default 5000" }, "azurite.tableHost": { @@ -251,7 +251,7 @@ }, "azurite.tableKeepAliveTimeout": { "type": "number", - "default": 5, + "default": 5000, "description": "Table service keep alive timeout, by default 5000" }, "azurite.skipApiVersionCheck": { diff --git a/src/blob/utils/constants.ts b/src/blob/utils/constants.ts index 84c2db4d5..b80159f34 100644 --- a/src/blob/utils/constants.ts +++ b/src/blob/utils/constants.ts @@ -31,7 +31,7 @@ export const EMULATOR_ACCOUNT_KEY = Buffer.from( export const EMULATOR_ACCOUNT_SKUNAME = Models.SkuName.StandardRAGRS; export const EMULATOR_ACCOUNT_KIND = Models.AccountKind.StorageV2; export const EMULATOR_ACCOUNT_ISHIERARCHICALNAMESPACEENABLED = false; -export const DEFAULT_BLOB_KEEP_ALIVE_TIMEOUT = 5; +export const DEFAULT_BLOB_KEEP_ALIVE_TIMEOUT = 5000; export const HeaderConstants = { diff --git a/src/queue/utils/constants.ts b/src/queue/utils/constants.ts index f16606e7e..0ff384b37 100644 --- a/src/queue/utils/constants.ts +++ b/src/queue/utils/constants.ts @@ -33,7 +33,7 @@ export const MESSAGETTL_MIN = 1; export const DEFAULT_UPDATE_VISIBILITYTIMEOUT = 30; // 30s as default. export const UPDATE_VISIBILITYTIMEOUT_MIN = 0; export const UPDATE_VISIBILITYTIMEOUT_MAX = 604800; -export const DEFAULT_QUEUE_KEEP_ALIVE_TIMEOUT = 5; +export const DEFAULT_QUEUE_KEEP_ALIVE_TIMEOUT = 5000; export const EMPTY_EXTENT_CHUNK = { id: "", offset: 0, count: 0 }; diff --git a/src/table/utils/constants.ts b/src/table/utils/constants.ts index 99274e1b5..5c4a4e947 100644 --- a/src/table/utils/constants.ts +++ b/src/table/utils/constants.ts @@ -6,7 +6,7 @@ export const DEFAULT_TABLE_LOKI_DB_PATH = "__azurite_db_table__.json"; export const DEFAULT_TABLE_SERVER_HOST_NAME = "127.0.0.1"; // Change to 0.0.0.0 when needs external access export const DEFAULT_TABLE_LISTENING_PORT = 10002; -export const DEFAULT_TABLE_KEEP_ALIVE_TIMEOUT = 5; +export const DEFAULT_TABLE_KEEP_ALIVE_TIMEOUT = 5000; export const DEFAULT_ENABLE_ACCESS_LOG = true; export const DEFAULT_ENABLE_DEBUG_LOG = true; export const DEFAULT_TABLE_PERSISTENCE_PATH = "__tablestorage__";