mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-01 08:59:46 +02:00
chore: drain active calls before rolling updates (#474)
* chore: drain active calls before rolling updates * fix: add a devops secret header * fix: implement PR review
This commit is contained in:
parent
327ec561d5
commit
b192d4ada7
12 changed files with 572 additions and 17 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -176,6 +176,16 @@ export type AwsBedrockLlmConfiguration = {
|
|||
aws_region?: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* ActiveCallsResponse
|
||||
*/
|
||||
export type ActiveCallsResponse = {
|
||||
/**
|
||||
* Active Calls
|
||||
*/
|
||||
active_calls: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* AmbientNoiseUploadRequest
|
||||
*/
|
||||
|
|
@ -13844,3 +13854,38 @@ export type HealthApiV1HealthGetResponses = {
|
|||
};
|
||||
|
||||
export type HealthApiV1HealthGetResponse = HealthApiV1HealthGetResponses[keyof HealthApiV1HealthGetResponses];
|
||||
|
||||
export type ActiveCallsApiV1HealthActiveCallsGetData = {
|
||||
body?: never;
|
||||
headers?: {
|
||||
/**
|
||||
* X-Dograh-Devops-Secret
|
||||
*/
|
||||
'X-Dograh-Devops-Secret'?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/v1/health/active-calls';
|
||||
};
|
||||
|
||||
export type ActiveCallsApiV1HealthActiveCallsGetErrors = {
|
||||
/**
|
||||
* Not found
|
||||
*/
|
||||
404: unknown;
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type ActiveCallsApiV1HealthActiveCallsGetError = ActiveCallsApiV1HealthActiveCallsGetErrors[keyof ActiveCallsApiV1HealthActiveCallsGetErrors];
|
||||
|
||||
export type ActiveCallsApiV1HealthActiveCallsGetResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: ActiveCallsResponse;
|
||||
};
|
||||
|
||||
export type ActiveCallsApiV1HealthActiveCallsGetResponse = ActiveCallsApiV1HealthActiveCallsGetResponses[keyof ActiveCallsApiV1HealthActiveCallsGetResponses];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue