Skip to content

Commit b0e8b94

Browse files
converted duration numbers to multiplications
1 parent b7e0d1b commit b0e8b94

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/common/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ export const defaultUserConfig: UserConfig = {
180180
apiBaseUrl: "https://cloud.mongodb.com/",
181181
logPath: getLogPath(),
182182
exportsPath: getExportsPath(),
183-
exportTimeoutMs: 300000, // 5 minutes
184-
exportCleanupIntervalMs: 120000, // 2 minutes
183+
exportTimeoutMs: 5 * 60 * 1000, // 5 minutes
184+
exportCleanupIntervalMs: 2 * 60 * 1000, // 2 minutes
185185
disabledTools: [],
186186
telemetry: "enabled",
187187
readOnly: false,
@@ -190,10 +190,10 @@ export const defaultUserConfig: UserConfig = {
190190
httpPort: 3000,
191191
httpHost: "127.0.0.1",
192192
loggers: ["disk", "mcp"],
193-
idleTimeoutMs: 600000, // 10 minutes
194-
notificationTimeoutMs: 540000, // 9 minutes
193+
idleTimeoutMs: 10 * 60 * 1000, // 10 minutes
194+
notificationTimeoutMs: 9 * 60 * 1000, // 9 minutes
195195
httpHeaders: {},
196-
atlasTemporaryDatabaseUserLifetimeMs: 14400000, // 4 hours
196+
atlasTemporaryDatabaseUserLifetimeMs: 4 * 60 * 60 * 1000, // 4 hours
197197
};
198198

199199
export const config = setupUserConfig({

0 commit comments

Comments
 (0)