Commit 564b622a authored by Mathieu Delestre's avatar Mathieu Delestre

revert method name (more explicit name)

parent 6a1221ca
......@@ -139,11 +139,11 @@ export async function deleteKara(kid) {
await deleteKaraDB(kid);
logger.info(`[Kara] Song ${kara.karafile} removed`);
delayedDbf(2000)
delayedDbRefreshViews(2000)
}
var delayedDbRefreshTimeout = null;
export async function delayedDbf(ttl=100) {
export async function delayedDbRefreshViews(ttl=100) {
clearTimeout(delayedDbRefreshTimeout)
delayedDbRefreshTimeout = setTimeout(refreshAll,ttl);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment