diff --git a/keyserver/src/scripts/utils.js b/keyserver/src/scripts/utils.js --- a/keyserver/src/scripts/utils.js +++ b/keyserver/src/scripts/utils.js @@ -3,6 +3,7 @@ import { endPool } from '../database/database.js'; import { endFirebase, endAPNs } from '../push/providers.js'; import { publisher } from '../socket/redis.js'; +import { prefetchAllURLFacts } from '../utils/urls.js'; function endScript() { endPool(); @@ -12,6 +13,7 @@ } async function main(functions: $ReadOnlyArray<() => Promise>) { + await prefetchAllURLFacts(); try { for (const f of functions) { await f();