zooniverse / zoo-stats-api-graphql

0 stars 2 forks source link

Handle 60 Second Timeout #95

Open wgranger opened 5 years ago

wgranger commented 5 years ago

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.

camallen commented 4 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