diff --git a/request-10-times-then-connect-abort.md b/request-10-times-then-connect-abort.md new file mode 100644 index 0000000..869e9ff --- /dev/null +++ b/request-10-times-then-connect-abort.md @@ -0,0 +1,14 @@ +router.get('/', function(req, res, next) { + let querys=req.query; + pg.connect(constr, function(err, client, done) { + if (err) { + console.log(err); + res.send({status:err}); + return; + } + res.send({status:'ok'}); + client.end(); + }); +}); + +when i request 10 times,the pg connect is no response and no err but could not connect...please help me \ No newline at end of file