[bt-devel] Bugfix in BT 1.6.4 for KDE3
Martin Gruner
mg.pub at gmx.net
Fri Aug 24 12:25:38 MST 2007
Please discard this email. The error is still there, and I cannot really say
where it sits. BT still eats up all system resources.
mg
Am Freitag, 24. August 2007 schrieb Martin Gruner:
> Hi there,
>
> I just fixed a very nasty bug. It caused BT to eat up all system resources
> during file download. FYI:
>
> - while (!finishedDownload) {
> - KApplication::kApplication()->processEvents(1);
> - // qWarning("FTP: Copy not yet finished");
> - if (term) {
> - if (job) {
> - job->kill(false);
> - }
> - }
>
> The problematic part is the processEvents(1), which will only interrupt the
> loop for 1 millisecond. But the loop is just there for active waiting. I
> set that value to 200ms and voilá, downloads are much faster and save
> system resources.
>
> @Joachim: could you please prepare a 1.6.4a with this change? I believe we
> also had some translation updates.
>
> mg
>
>
> _______________________________________________
> bt-devel mailing list
> bt-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/bt-devel
More information about the bt-devel
mailing list