refactor(cache): remove unused getCacheStats and purgeCache IPC actions

This commit is contained in:
lohit-bruno
2026-03-05 18:34:01 +05:30
parent f070812845
commit b74b76cc9a

View File

@@ -306,20 +306,6 @@ export const refreshSystemProxy = () => (dispatch, getState) => {
});
};
export const getCacheStats = () => () => {
return new Promise((resolve, reject) => {
const { ipcRenderer } = window;
ipcRenderer.invoke('renderer:get-cache-stats').then(resolve).catch(reject);
});
};
export const purgeCache = () => () => {
return new Promise((resolve, reject) => {
const { ipcRenderer } = window;
ipcRenderer.invoke('renderer:purge-cache').then(resolve).catch(reject);
});
};
export const clearHttpHttpsAgentCache = () => () => {
return new Promise((resolve, reject) => {
const { ipcRenderer } = window;