From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 281EA1F47A for ; Thu, 29 Aug 2024 23:26:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1724973964; bh=hekv3n36k2gGPJI7CnKXbmqD3gU7GUrlypYplt8syuE=; h=From:To:Subject:Date:From; b=JG3VPSnTmpmTrSwq008m4zTpspNyf4jwCN/G+npBNLllSyt5OgXgOmiojWUNgExl2 ebUHuWwXV78ELG5Jro+QeZCjWRx0sHS1R8C1m1bMBc8vLXcggnvU5wmzJ+ud06cqi1 t8Q5PCsgEIQLh0fj08+T4VRYUk/XnuRQmzxFXQKE= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/3] solver: async for external processes Date: Thu, 29 Aug 2024 23:26:00 +0000 Message-ID: <20240829232603.2120168-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: More steps towards mitigating the pathological effects of slow seeks and ultra-expensive Xapian searches... 1/3 introduces some nastiness in stderr handling, but I care more about avoiding pathological slowdowns than correct UI hints. The rest are pretty straightforward... Our internal APIs could be nicer for dealing with sync vs. async usages, but that's for another series. Eric Wong (3): solver: use async check (`info') for coderepo solver: use xap_helper for async search if available solver: use async_check for the temporary git repo lib/PublicInbox/Git.pm | 2 +- lib/PublicInbox/LeiRemote.pm | 7 ++ lib/PublicInbox/SolverGit.pm | 232 ++++++++++++++++++++--------------- 3 files changed, 142 insertions(+), 99 deletions(-)