diff --git a/app/controllers/copy_controller.js b/app/controllers/copy_controller.js index 5b2c9b00..f6a45cb1 100644 --- a/app/controllers/copy_controller.js +++ b/app/controllers/copy_controller.js @@ -118,7 +118,7 @@ function handleCopyFrom (logger) { .on('error', err => { metrics.end(null, err); req.unpipe(pgstream); - pgstream.end(); + // pgstream.end(); done(); next(err);