diff options
-rw-r--r-- | src/verbs/sync.py | 2 | ||||
-rw-r--r-- | xipkg.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/verbs/sync.py b/src/verbs/sync.py index e9cc7b3..bd828ef 100644 --- a/src/verbs/sync.py +++ b/src/verbs/sync.py @@ -103,7 +103,7 @@ def test_sources(sources, file_path, test_count=10): total += test_source(source, url) util.loading_bar(checked, len(sources) * test_count, f"Pinging Sources") checked += 1 - pings[source] = total / test_count if total > 0 else 0 + pings[source] = int(total / test_count) if total > 0 else 0 sorted(pings, reverse=True) @@ -14,5 +14,5 @@ repos [ # the number of times to ping a server to find out its speed # use 0 to disable determining the fastest servers -pings 10 +pings 4 |