From ddab71e29d896740bc61e3a8fd1dadb2e949c75e Mon Sep 17 00:00:00 2001 From: Shanika Kuruppu Date: Thu, 10 Dec 2020 15:11:10 +1100 Subject: [PATCH] samples: remove overloadDelay in sample --- samples/get-commit-stats.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/samples/get-commit-stats.js b/samples/get-commit-stats.js index 177b2da2d..7866bf8be 100644 --- a/samples/get-commit-stats.js +++ b/samples/get-commit-stats.js @@ -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 {