prisma-client-go: How to improve Timeout problems?

I keep getting a very very slow start whenever my server restarts or is redeployed. It used to be quick, but it takes too long these days and I worry!

{
  "errors": [
    {
      "message": "could not find tracking information for order: Request failed: raw post: Post \"http://localhost:58197/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)",
      "path": [
        "trackOrder"
      ]
    }
  ],
  "data": null
}

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 30 (13 by maintainers)

Most upvoted comments

I have found the problem to be from a background service that was terminating the server… thereby making it to restart over and over…

Thanks for your time so far, you have been helpful

@steebchen oh okay, I have spotted that error before and changed it.

It works now… after meddling with Dockerfile for hours…

I still get a delay when calling nested GraphQL queries… which makes me worry… but everything seems fine for now