]> Sergey Matveev's repositories - public-inbox.git/commitdiff
solver: add a TODO note about making this fully evented
authorEric Wong <e@80x24.org>
Sat, 19 Jan 2019 08:27:44 +0000 (08:27 +0000)
committerEric Wong <e@80x24.org>
Sun, 20 Jan 2019 04:24:54 +0000 (04:24 +0000)
Applying a 100+ patch series can be a pain and lead to a wayward
client monopolizing the connection.  On the other hand, we'll
also need to be careful and limit the number of in-flight file
descriptors and parallel git-apply processes when we move to an
evented model, here.

lib/PublicInbox/SolverGit.pm

index 42bb6033176b97cf513abf1c2e6132129a29f8e7..13065348b1da882c23843df3268de017106f7f1a 100644 (file)
@@ -358,6 +358,9 @@ sub apply_patches_cb ($$$$$) {
 # recreate $oid_b
 # Returns an array ref: [ ::Git object, oid_full, type, size, di ]
 # or undef if nothing was found.
+#
+# TODO: complete the migration of this and ViewVCS into an evented
+# model for fairness
 sub solve ($$$$) {
        my ($self, $out, $oid_b, $hints) = @_;