mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? feat: Show task_executor heartbeat #3409 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -22,16 +22,23 @@ export interface IUserInfo {
|
||||
|
||||
export type TaskExecutorElapsed = Record<string, number[]>;
|
||||
|
||||
export interface TaskExecutorHeartbeatItem {
|
||||
boot_at: string;
|
||||
current: null;
|
||||
done: number;
|
||||
failed: number;
|
||||
lag: number;
|
||||
name: string;
|
||||
now: string;
|
||||
pending: number;
|
||||
}
|
||||
|
||||
export interface ISystemStatus {
|
||||
es: Es;
|
||||
storage: Storage;
|
||||
database: Database;
|
||||
redis: Redis;
|
||||
task_executor: {
|
||||
error?: string;
|
||||
status: string;
|
||||
elapsed?: TaskExecutorElapsed;
|
||||
};
|
||||
task_executor_heartbeat: Record<string, TaskExecutorHeartbeatItem[]>;
|
||||
}
|
||||
|
||||
interface Redis {
|
||||
|
||||
Reference in New Issue
Block a user