Remove blocking access control checks to fix slow initial video loading

This commit is contained in:
google-labs-jules[bot] committed 2026-01-13 14:25:22 +00:00
1 parent efb42e93db
commit 14d7423e29
2 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -494,7 +494,7 @@ class Application {
})
: Promise.resolve(null);
await Promise.all([accessControlPromise, adminPanePromise]);
// await Promise.all([accessControlPromise, adminPanePromise]);
const syncSessionActorBlacklist = async (trigger) => {
if (this.pubkey) {
+6 -1
View File
@@ -1104,7 +1104,12 @@ export class NostrService {
this.ensureInitialLoadDeferred();
try {
await this.ensureAccessControlReady();
this.ensureAccessControlReady().catch((error) => {
userLogger.warn(
"[nostrService] Background access control ready check failed:",
error
);
});
if (forceFetch) {
this.clearVideoSubscription();