Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Make the number of parallel code-host requests configurable (git config stack.codeHostConcurrency)

オープン
#43 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
cli

調査の方向性

codeHostConcurrency と、stack.trunks および stack.blockLink の既存の Git 設定処理を探します。未設定時のデフォルト値 4 を維持したまま stack.codeHostConcurrency のサポートを追加し、コードホストへのリクエストが設定された制限を使用すること、またデフォルトでは既存の動作が変わらないことを確認します。

索引モデルが issue の本文から書いたものです。

説明

What I'd like

A way to control how many requests stack makes to the code host at the same time, set through git config like the other options — for example:

git config stack.codeHostConcurrency 2

Why

Right now stack fires several code-host requests in parallel (it looks like 4 at a time). In my setup, that burst of simultaneous requests is too much and the calls start timing out, so stack fails partway through.

If I could set the number myself, I could find the sweet spot that works for me — maybe 3 or 2 is enough, and 1 as a worst case. Being able to tune it means stack finishes reliably instead of failing on the burst.

How I imagine it working

The number already exists in the code (codeHostConcurrency, default 4) but isn't exposed. It could be read from git config the same way stack.trunks and stack.blockLink already are:

git config stack.codeHostConcurrency 2     # two requests at a time
git config stack.codeHostConcurrency 1     # one at a time
git config stack.codeHostConcurrency 4     # current default

If it's not set, keep the current default of 4 so nothing changes for existing users.

主要言語
TypeScript
スター
542
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

kitlangton/stack のほかの issue

kitlangton/stack の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。