@mulingai-npm/redis 3.38.10 → 3.38.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -69,8 +69,4 @@ export declare class DemoRoomPoolManager {
|
|
|
69
69
|
* Increment IP rate limit counter with 24h TTL.
|
|
70
70
|
*/
|
|
71
71
|
incrementIpRateLimit(ipHash: string): Promise<void>;
|
|
72
|
-
/**
|
|
73
|
-
* Get demo chunks for export.
|
|
74
|
-
*/
|
|
75
|
-
getDemoChunks(demoSessionId: string): Promise<string[]>;
|
|
76
72
|
}
|
|
@@ -169,12 +169,5 @@ class DemoRoomPoolManager {
|
|
|
169
169
|
await this.redisClient.incr(key);
|
|
170
170
|
await this.redisClient.expire(key, 86400);
|
|
171
171
|
}
|
|
172
|
-
/**
|
|
173
|
-
* Get demo chunks for export.
|
|
174
|
-
*/
|
|
175
|
-
async getDemoChunks(demoSessionId) {
|
|
176
|
-
const key = `demo:session:${demoSessionId}:chunks`;
|
|
177
|
-
return await this.redisClient.lrange(key, 0, -1);
|
|
178
|
-
}
|
|
179
172
|
}
|
|
180
173
|
exports.DemoRoomPoolManager = DemoRoomPoolManager;
|