1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-18 13:48:58 +02:00

Improve the setLastSeen function by using better sql operation

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2023-09-28 11:41:37 +03:00
parent 2a0976d088
commit 18545268c1
No known key found for this signature in database
GPG Key ID: DB82A1577B38F66B

View File

@ -164,7 +164,7 @@ test('Should handle 1000 toggle updates', async () => {
// bypass interval waiting // bypass interval waiting
await service.store(); await service.store();
const t1 = await stores.featureToggleStore.get('tb1'); const t1 = await stores.featureToggleStore.get('tb0');
const t2 = await stores.featureToggleStore.get('tb1000'); const t2 = await stores.featureToggleStore.get('tb1000');
expect(t2.lastSeenAt).toBeNull(); expect(t2.lastSeenAt).toBeNull();