🐛 数据统计间隔步长错误

This commit is contained in:
Liang Ding 2022-12-31 16:40:12 +08:00
parent 7e214231d9
commit 441c0ddef4
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -240,7 +240,7 @@ func CeilSize(size int64) int64 {
for i := int64(1); i < 40; i++ {
if 1024*1024*200*i > size {
return 1024 * 1024 * int64(i)
return 1024 * 1024 * 200 * i
}
}
return 1024*1024*200*40 + 1