防护:添加人数过多防护措施
This commit is contained in:
@@ -74,6 +74,8 @@ declare module 'redis' {
|
||||
publishAsync(channel: string, message: string): Promise<number>;
|
||||
// 订阅给定的一个或多个频道的信息
|
||||
subscribeAsync(...channels: string[]): Promise<number>;
|
||||
// 返回hash字段数量
|
||||
hlenAsync(key: string): Promise<number>;
|
||||
}
|
||||
export interface Multi extends Commands<Multi> {
|
||||
execAsync(...args: any[]): Promise<any>;
|
||||
|
||||
Reference in New Issue
Block a user