Skip to content

Commit f01516e

Browse files
authored
fix: exact staleness timebound (#2143)
fixes: #2129
1 parent 0342e74 commit f01516e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/crud.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ async function readStaleData(instanceId, databaseId, projectId) {
309309
};
310310

311311
const options = {
312-
// Guarantees that all writes committed more than 15 seconds ago are visible
313-
exactStaleness: 15,
312+
// Guarantees that all writes committed more than 15000 milliseconds ago are visible
313+
exactStaleness: 15000,
314314
};
315315

316316
try {

0 commit comments

Comments
 (0)