Skip to content

Commit a9b2fa7

Browse files
authored
fix(compass-web): skip ping on connect for compass web COMPASS-9579 (#7121)
1 parent 16b18d1 commit a9b2fa7

File tree

1 file changed

+1
-0
lines changed
  • packages/compass-web/polyfills/@mongodb-js/devtools-connect

1 file changed

+1
-0
lines changed

packages/compass-web/polyfills/@mongodb-js/devtools-connect/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export async function connectMongoClient(
1515
delete options.oidc;
1616
delete options.parentState;
1717
delete options.parentHandle;
18+
options.__skipPingOnConnect = true;
1819
const client = new MongoClient(url, options);
1920
await client.connect();
2021
return {

0 commit comments

Comments
 (0)