Schedule expiration of pinned messages

This commit is contained in:
Jamie
2025-12-16 08:10:12 -08:00
committed by GitHub
parent ed279cd8f5
commit 649ae55fca
6 changed files with 50 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ describe('createExpiringEntityCleanupService', () => {
},
async cleanupExpiredEntities() {
calls.push('cleanupExpiredEntities');
const deletedIds: Array<string> = [];
const deletedIds: Array<string | number> = [];
const undeleted: Array<ExpiringEntity> = [];
for (const entity of mockExpiringEntities) {
if (entity.expiresAtMs <= clock.getCurrentTime()) {