@apify/utilities 2.35.0 → 2.35.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.cjs +1 -9
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +1 -9
- package/esm/index.mjs.map +1 -1
- package/package.json +4 -4
package/cjs/index.cjs
CHANGED
|
@@ -1801,15 +1801,7 @@ var _HealthChecker = class _HealthChecker {
|
|
|
1801
1801
|
}
|
|
1802
1802
|
}
|
|
1803
1803
|
async _testMongoDbPing({ client }) {
|
|
1804
|
-
const response = await client.command(
|
|
1805
|
-
{ ping: 1 },
|
|
1806
|
-
{
|
|
1807
|
-
readPreference: {
|
|
1808
|
-
readPreference: "nearest",
|
|
1809
|
-
readPreferenceTags: [{ nodeType: "ELECTABLE" }]
|
|
1810
|
-
}
|
|
1811
|
-
}
|
|
1812
|
-
);
|
|
1804
|
+
const response = await client.command({ ping: 1 });
|
|
1813
1805
|
if (response.ok !== 1) throw new Error(`Got ${response.ok} instead of 1!`);
|
|
1814
1806
|
}
|
|
1815
1807
|
async _testMongoDbRead({ client }) {
|