vysheng / tg

telegram-cli
GNU General Public License v2.0
6.48k stars 1.53k forks source link

Load_Document downloads so slowly #967

Open matinlotfali opened 8 years ago

matinlotfali commented 8 years ago

I can download files with 3 MB/s speed. But when I use load_document it downloads with 128 KB/s speed. How can I speedup the download?

Goty commented 8 years ago

I have the same problem. Does anyone knows what is te problem?

hannibal1986 commented 8 years ago

I have the same problem, any solution? My download speed is over 100kb/s

anishsane commented 5 years ago

I have the same problem. Using telegram-cli on ubuntu. I can download using android/windows client at much higher speeds. However, when using telegram-cli+load_document, the speed is very low.

Paulchen232 commented 5 years ago

Turning off the debug mode can make it about twice as fast.

To do that write in Makefile CFLAGS=-g -O2 -> #CFLAGS=-g -O2 and du make

I think they write too often how much has been downloaded. The program make it in interface.c on line 593 but I don`t no how can it better.

Paulchen232 commented 5 years ago

I think they write too often how much has been downloaded. The program make it in interface.c on line 593 but I don`t no how can it better.

I think now that is not correctly.

voxsoftware commented 3 years ago

same problema

Paulchen232 commented 3 years ago

Have you try make the debug mode off?