We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b43ec03 commit c3895acCopy full SHA for c3895ac
packages/testing/src/api/index.ts
@@ -200,7 +200,13 @@ export function loadFirestoreRules(
200
201
let client = new EMULATOR.FirestoreEmulator(
202
FIRESTORE_ADDRESS,
203
- grpc.credentials.createInsecure()
+ grpc.credentials.createInsecure(),
204
+ {
205
+ // Cap how much backoff gRPC will perform. This is testing code, so
206
+ // efficiency is less important than responsiveness.
207
+ 'grpc.initial_reconnect_backoff_ms': 100,
208
+ 'grpc.max_reconnect_backoff_ms': 100
209
+ }
210
);
211
return new Promise((resolve, reject) => {
212
client.setSecurityRules(
0 commit comments