Skip to content

Commit b285d7a

Browse files
committed
fix: retry param ignored for RTDB triggers
1 parent 5145e18 commit b285d7a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/v2/providers/database.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ export function makeEndpoint(
447447
eventType,
448448
eventFilters,
449449
eventFilterPathPatterns,
450-
retry: false,
450+
retry: opts.retry,
451451
},
452452
};
453453
}
@@ -459,6 +459,7 @@ export function onChangedOperation<Ref extends string>(
459459
handler: (event: DatabaseEvent<Change<DataSnapshot>, ParamsOf<Ref>>) => any | Promise<any>
460460
): CloudFunction<DatabaseEvent<Change<DataSnapshot>, ParamsOf<Ref>>> {
461461
const { path, instance, opts } = getOpts(referenceOrOpts);
462+
console.log(opts);
462463

463464
const pathPattern = new PathPattern(path);
464465
const instancePattern = new PathPattern(instance);

0 commit comments

Comments
 (0)