#!/usr/bin/env node
// to silence EPIPE errors when piping to processes that close the stream ahead
// of time
require("epipebomb")();

const stats = require("../src/stats");

process.on("unhandledRejection", err => {
  throw err;
});

stats({
  delay: 1e3,
  infinite: true
});

#!/usr/bin/env node
// to silence EPIPE errors when piping to processes that close the stream ahead
// of time
require("epipebomb")();

const stats = require("../src/stats");

process.on("unhandledRejection", err => {
  throw err;
});

stats({
  infinite: true
});

Use default delay when fetching augmented diffs
Use default delay when fetching augmented diffs

When catching up, it will fetch diffs one after another, so delay really
controls how often the augmented_diff_status endpoint is hit.
