mirror of
https://github.com/fosrl/pangolin.git
synced 2026-06-18 13:22:03 +00:00
feat: batch redis ws direct messages and dedupe rebuild queue jobs
This commit is contained in:
committed by
GitHub
parent
06fb3685e4
commit
45158ff45b
@@ -78,10 +78,14 @@ export interface SendMessageOptions {
|
||||
|
||||
// Redis message type for cross-node communication
|
||||
export interface RedisMessage {
|
||||
type: "direct" | "broadcast";
|
||||
type: "direct" | "direct-batch" | "broadcast";
|
||||
targetClientId?: string;
|
||||
excludeClientId?: string;
|
||||
message: WSMessage;
|
||||
messages?: {
|
||||
targetClientId: string;
|
||||
message: WSMessage;
|
||||
}[];
|
||||
fromNodeId: string;
|
||||
options?: SendMessageOptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user