diff --git a/controllers/statistics.go b/controllers/statistics.go index bc6b1e8..2ee4942 100644 --- a/controllers/statistics.go +++ b/controllers/statistics.go @@ -281,7 +281,6 @@ func (sc *StatisticsController) chartHeartRateMeasurementHistory(c *gin.Context, var records []models.MqttHeartRateRecord if err := baseQuery.Session(&gorm.Session{}). Order("received_at ASC"). - Limit(10000). Find(&records).Error; err != nil { writeError(c, http.StatusInternalServerError, "failed to query mqtt heart rate chart records") return @@ -393,7 +392,6 @@ func (sc *StatisticsController) chartStepCountMeasurementHistory(c *gin.Context, var records []models.MqttStepCountRecord if err := baseQuery.Session(&gorm.Session{}). Order("received_at ASC"). - Limit(10000). Find(&records).Error; err != nil { writeError(c, http.StatusInternalServerError, "failed to query mqtt step count chart records") return