fix: ping urls are not reset when restarting (#924)

This commit is contained in:
Meier Lukas authored and GitHub committed 2024-08-08 20:36:51 +02:00
1 parent f9e2df085b
commit 365e267b8d
3 files changed
+20 -1

No files matched your search

+6
View File
@@ -77,6 +77,12 @@ export const createListChannel = <TItem>(name: string) => {
removeAsync: async (item: TItem) => {
await getSetClient.lrem(listChannelName, 0, superjson.stringify(item));
},
/**
* Clear all items from the channels list
*/
clearAsync: async () => {
await getSetClient.del(listChannelName);
},
/**
* Add an item to the channels list
* @param item item to add