diff --git a/VERSION b/VERSION index 57ed5da..8e9e6d5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.11.51 +v1.11.52 diff --git a/core/presentation/telegram/stats_command_channel.go b/core/presentation/telegram/stats_command_channel.go index 172c20f..3728b3f 100644 --- a/core/presentation/telegram/stats_command_channel.go +++ b/core/presentation/telegram/stats_command_channel.go @@ -411,7 +411,7 @@ func (r *Presentation) updateUploadChannelStatsMessage( elapsed := time.Since(input.tgInput.StartedAt).Minutes() speed := float64(nonLeafsCount) / elapsed - maxCount := math.Pow(float64(input.maxRecommendation), float64(input.maxDepth)) + maxCount := math.Pow(float64(input.maxRecommendation), float64(input.maxDepth-1)) var totalTime float64 if speed == 0 { diff --git a/docker-compose.yaml b/docker-compose.yaml index ead8036..5606d12 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,7 @@ services: fun_storage__mongo_db_url: "mongodb://mongodb:27017" fun_storage__clickhouse_url: "clickhouse:9000" fun_ds_supplier_url: "http://ds:8000" - image: ghcr.io/teadove/fun-telegram:v1.11.51 + image: ghcr.io/teadove/fun-telegram:v1.11.52 volumes: - ".mtproto:/.mtproto" - ".env:/.env"