mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 00:52:09 +00:00
feat(server): added telemetry queue for self hosted to upload instance stats to posthog on midnight
This commit is contained in:
@@ -14,5 +14,7 @@ export const keyStoreFactory = (redisUrl: string) => {
|
||||
|
||||
const deleteItem = async (key: string) => redis.del(key);
|
||||
|
||||
return { setItem, getItem, setItemWithExpiry, deleteItem };
|
||||
const incrementBy = async (key: string, value: number) => redis.incrby(key, value);
|
||||
|
||||
return { setItem, getItem, setItemWithExpiry, deleteItem, incrementBy };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user