search-discovery-case: update documentation of a function
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 03 Jun 2022 17:39:58 +0200
changeset 49271 87a3f43b9dc2
parent 49269 395f28064826
child 49273 34020d1f1635
search-discovery-case: update documentation of a function We return data, it is simpler when we know what these data means.
contrib/perf-utils/search-discovery-case
--- a/contrib/perf-utils/search-discovery-case	Sun May 22 03:50:34 2022 +0200
+++ b/contrib/perf-utils/search-discovery-case	Fri Jun 03 17:39:58 2022 +0200
@@ -142,7 +142,14 @@
 
     Ideally, we would make this configurable, but this is not a focus for now
 
-    return None or (round-trip, undecided-common, undecided-missing)
+    return None or (
+        round-trip,
+        undecided-common,
+        undecided-missing,
+        total-revs,
+        common-revs,
+        missing-revs,
+    )
     """
     roundtrips = res["total-roundtrips"]
     if roundtrips <= 1: