Friday, 4 January 2019

node-postgres causes timeout after 10 - 17 hours without anything logged

So in continuation of thisSo I (or rather my buddy) managed to figure out that it's any pages with calls to the database using node-postgres. Like here where the info page doesn't crash/timeout because it doesn't do any db calls.This is the controller for the transparency page seen in the picture, this is the function it calls to get from transparency, and this is the function that gets the db client. I also use parceljs to build it using the following script (where build-server is on the next line) if that could help.This is so confusing because I get no errors or anything :<<br>
Submitted January 04, 2019 at 09:31AM by inabahare

No comments:

Post a Comment