fix: persist public traffic cache rows
This commit is contained in:
parent
da8a8399e4
commit
50a3f89b01
@ -847,7 +847,8 @@ function persistentTrafficCacheEnabled() {
|
||||
}
|
||||
|
||||
async function ensurePersistentTrafficCacheTable() {
|
||||
if (persistentCacheTableEnsured || !persistentTrafficCacheEnabled()) return false
|
||||
if (persistentCacheTableEnsured) return true
|
||||
if (!persistentTrafficCacheEnabled()) return false
|
||||
|
||||
const { prisma } = await import('./prisma')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user