This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix EMFILE error in local training service (#1189)
- Loading branch information
1 parent
26792df
commit 1bd3637
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
declare module 'tail-stream' { | ||
export interface Stream { | ||
on(type: 'data', callback: (data: Buffer) => void): void; | ||
destroy(): void; | ||
end(data: number): void; | ||
emit(data: string): void; | ||
} | ||
export function createReadStream(path: string): Stream; | ||
} |