Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

perf(e2e): lower maxTabs to 10 for memory efficiency

Bosch300fa7ca2c14
diff --git a/tests/e2e/Dockerfile.pinchtab b/tests/e2e/Dockerfile.pinchtab
index 03528a1d..f05707a9 100644
--- a/tests/e2e/Dockerfile.pinchtab
+++ b/tests/e2e/Dockerfile.pinchtab
@@ -43,9 +43,9 @@ ENV PINCHTAB_BIND=0.0.0.0 \
# Config goes in XDG_CONFIG_HOME which defaults to ~/.config
# AllowedDomains replaces defaults, so include localhost + fixtures
# Enable evaluate/download/upload for comprehensive E2E testing
-# Use LRU tab eviction so tests don't hit tab limit
+# Use LRU tab eviction with lower limit for memory efficiency
RUN mkdir -p /root/.config/pinchtab && \
- echo '{"browser":{"extraFlags":"--no-sandbox --disable-dev-shm-usage"},"instanceDefaults":{"tabEvictionPolicy":"close_lru"},"security":{"allowEvaluate":true,"allowDownload":true,"allowUpload":true,"idpi":{"enabled":true,"allowedDomains":["localhost","127.0.0.1","::1","fixtures"]}}}' > /root/.config/pinchtab/config.json
+ echo '{"browser":{"extraFlags":"--no-sandbox --disable-dev-shm-usage"},"instanceDefaults":{"maxTabs":10,"tabEvictionPolicy":"close_lru"},"security":{"allowEvaluate":true,"allowDownload":true,"allowUpload":true,"idpi":{"enabled":true,"allowedDomains":["localhost","127.0.0.1","::1","fixtures"]}}}' > /root/.config/pinchtab/config.json
EXPOSE 9999