chore: include pre-built dist for github install
This commit is contained in:
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Simple counting semaphore to limit concurrent process execution.
|
||||
* Used to prevent multiple ripgrep processes from saturating CPU.
|
||||
*/
|
||||
export declare class Semaphore {
|
||||
private readonly max;
|
||||
private queue;
|
||||
private running;
|
||||
constructor(max: number);
|
||||
acquire(): Promise<void>;
|
||||
release(): void;
|
||||
}
|
||||
/** Global semaphore limiting concurrent ripgrep processes to 2 */
|
||||
export declare const rgSemaphore: Semaphore;
|
||||
Reference in New Issue
Block a user