fix: ping urls are not reset when restarting (#924)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user