Skip to content

Commit

Permalink
samples: remove overloadDelay in sample
Browse files Browse the repository at this point in the history
  • Loading branch information
skuruppu committed Dec 10, 2020
1 parent 8738826 commit ddab71e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions samples/get-commit-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,6 @@ async function getCommitStats(instanceId, databaseId, projectId) {
console.log(
`Updated data with ${response.commitStats.mutationCount} mutations.`
);

if (response.commitStats.overloadDelay) {
console.log(
`Commit was delayed by ${response.commitStats.overloadDelay} ` +
'due to overloaded servers.'
);
}
} catch (err) {
console.error('ERROR:', err);
} finally {
Expand Down

0 comments on commit ddab71e

Please sign in to comment.