Skip to content

Commit

Permalink
Dont set written flag on hearbeat update
Browse files Browse the repository at this point in the history
  • Loading branch information
daleharvey committed Nov 17, 2019
1 parent a2bae3e commit 30bd27a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/routes/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ module.exports = function(app, PouchDB) {
? req.query.heartbeat : 6000;
var written = false;
heartbeatInterval = setInterval(function () {
written = true;
res.write('\n');
}, heartbeat);

Expand Down

0 comments on commit 30bd27a

Please sign in to comment.