Set hasDataCounter mod to 25

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2025-12-02 15:06:54 +08:00
parent 5c835b1c86
commit fbbe57cc17
+1 -1
View File
@@ -630,7 +630,7 @@ class TestDownloadSpeedWorker(WebGETManager):
self.factory.setExtras('speedResult', f'{downloadSpeed:.2f} MiB/s')
# Limited to save CPU resources
if self.hasDataCounter % 20 == 0:
if self.hasDataCounter % 25 == 0:
self.sync()
def failureCallback(self, networkReply, **kwargs):