chore(agents): run const-refactor-agent daily task — Refactored timeouts in UI controllers and webtorrent.js to use canonical constants

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-12 23:10:37 +00:00
1 parent fadd74b0af
commit a77e182ed1
7 files changed
+35 -72

No files matched your search

+2 -2
View File
@@ -22,7 +22,7 @@ import r2Service from "../services/r2Service.js";
import s3UploadService from "../services/s3UploadService.js";
import RelayHealthService from "../services/relayHealthService.js";
import { createFeedEngine } from "../feedEngine/index.js";
import { URL_FIRST_ENABLED } from "../constants.js";
import { URL_FIRST_ENABLED, SHORT_TIMEOUT_MS } from "../constants.js";
import { ALLOW_NSFW_CONTENT } from "../config.js";
import { relayManager } from "../relayManager.js";
import { userBlocks } from "../userBlocks.js";
@@ -899,7 +899,7 @@ export default class ApplicationBootstrap {
if (this.window && typeof this.window.setTimeout === "function") {
this.window.setTimeout(() => {
app.showStatus("");
}, 5000);
}, SHORT_TIMEOUT_MS);
}
} else {
app.showError(message);