-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adds streaming-whisper type #166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks right, except I wonder about 'streaming-whisper'.... why not just call it 'whisper'? we don't have any plans for any other sort, correct?
src/instance_store.ts
Outdated
@@ -110,12 +110,19 @@ export interface JVBStatus { | |||
graceful_shutdown: boolean; | |||
} | |||
|
|||
export interface whisperStatus { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interface names are first-letter capital by convention to differentiate them from the actual instance with values
export interface whisperStatus { | |
export interface WhisperStatus { |
src/instance_tracker.ts
Outdated
@@ -12,6 +12,7 @@ import InstanceStore, { | |||
JigasiStatus, | |||
JVBStatus, | |||
NomadStatus, | |||
whisperStatus, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whisperStatus, | |
WhisperStatus, |
src/instance_store.ts
Outdated
export interface InstanceStatus { | ||
provisioning: boolean; | ||
jibriStatus?: JibriStatus; | ||
jvbStatus?: JVBStatus; | ||
jigasiStatus?: JigasiStatus; | ||
nomadStatus?: NomadStatus; | ||
whisperStatus?: whisperStatus; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whisperStatus?: whisperStatus; | |
whisperStatus?: WhisperStatus; |
src/instance_tracker.ts
Outdated
@@ -116,6 +117,9 @@ export class InstanceTracker { | |||
case 'JVB': | |||
instanceState.status.jvbStatus = <JVBStatus>report.stats; | |||
break; | |||
case 'whisper': | |||
instanceState.status.whisperStatus = <whisperStatus>report.stats; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instanceState.status.whisperStatus = <whisperStatus>report.stats; | |
instanceState.status.whisperStatus = <WhisperStatus>report.stats; |
No description provided.