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:
parent
2a0976d088
commit
18545268c1
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user