Open wgranger opened 5 years ago
this could be addressed by postgresql connection statement timeouts, ideally they would be set to just after the ingress load balancer times out via an env variable on boot, e.g. https://github.com/zooniverse/Panoptes/pull/3278
The stats api can hit a 60-second timeout before data is served back to the client. This issue became apparent from a recent query where daily Galaxy Zoo classification stats were requested without a limit.
In this case, the stats api timed out before it could return daily counts for the project.