We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14101c1 commit 9e3a527Copy full SHA for 9e3a527
app/components/UI/Perps/utils/e2eBridgePerps.ts
@@ -150,7 +150,11 @@ function startE2EPerpsCommandPolling(): void {
150
const pollIntervalMs = Number(process.env.E2E_POLL_INTERVAL_MS || 2000);
151
const host = getLocalHost();
152
const port = getCommandQueueServerPort();
153
- const baseUrl = `http://${host}:${port}/queue.json`;
+ // Change isDebug while developing E2E for Perps to avoid emptying out the queue
154
+ const isDebug = false;
155
+ const baseUrl = isDebug
156
+ ? `http://${host}:${port}/debug.json`
157
+ : `http://${host}:${port}/queue.json`;
158
const FETCH_TIMEOUT = 40000; // Timeout in milliseconds
159
160
function scheduleNext(delay: number): void {
0 commit comments