Closed garydoranjr closed 4 years ago
I looked into this more; I guess the queries are just slow when there are a lot of results to serialize from DB rows -> Python Objects -> JSON -> Python Objects. The DB query itself only takes a few seconds in the worst case.
I’ve made a change to the server that might fix the truncated responses. Apparently CherryPy ignores “socket timeout” errors, so it silently drop the connection after 10 seconds. If you’re issuing large queries (or there’s a lot of network traffic from multiple connections), it might take a while to get all of the data across. I’ve increased the timeout to accommodate larger queries. Let me know if you still observe the behavior.
Kiri says: