[Dashboard:Chart] More than 3 Charts will cause issues #55

Open
opened 2025-12-08 12:51:17 +01:00 by DeltaLima · 0 comments
Owner

The way I read and output the historical data for the charts works not that well.
when more than 3 charts are set, the json generation takes too long (or something) and just will abort:

$ curl -v http://192.168.30.214/view
*   Trying 192.168.30.214:80...
* Connected to 192.168.30.214 (192.168.30.214) port 80
* using HTTP/1.x
> GET /view HTTP/1.1
> Host: 192.168.30.214
> User-Agent: curl/8.14.1
> Accept: */*
> 
* Request completely sent off
< HTTP/1.1 200 OK
< Connection: close
< Accept-Ranges: none
< Content-Length: 5694
< Content-Type: application/json
< 
{"CanGrow":{"name":"Inkubator S2 Mini", ....

,"timestamp":[1765155875,1765157675,1765159475,1765161276,1765163075,1765164875,1765166675,1765168475,1765170275,17651720* end of response with 47 bytes missing
* closing connection #0
curl: (18) end of response with 47 bytes missing
176518

The way I read and output the historical data for the charts works not that well. when more than 3 charts are set, the json generation takes too long (or something) and just will abort: ```sh $ curl -v http://192.168.30.214/view * Trying 192.168.30.214:80... * Connected to 192.168.30.214 (192.168.30.214) port 80 * using HTTP/1.x > GET /view HTTP/1.1 > Host: 192.168.30.214 > User-Agent: curl/8.14.1 > Accept: */* > * Request completely sent off < HTTP/1.1 200 OK < Connection: close < Accept-Ranges: none < Content-Length: 5694 < Content-Type: application/json < {"CanGrow":{"name":"Inkubator S2 Mini", .... ,"timestamp":[1765155875,1765157675,1765159475,1765161276,1765163075,1765164875,1765166675,1765168475,1765170275,17651720* end of response with 47 bytes missing * closing connection #0 curl: (18) end of response with 47 bytes missing 176518 ```
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
DeltaLima/CanGrow#55
No description provided.