Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Change the keepalive in stress test

Tomas Valenta975bcc6839dc
diff --git a/tests/index.mts b/tests/index.mts
index d4897ff20..df65ffa05 100644
--- a/tests/index.mts
+++ b/tests/index.mts
@@ -73,7 +73,7 @@ for (let i = 0; i < batchCount; i++) {
if (s.length > 0) {
const first = s[0]
try {
- await first.keepAlive(2 * 60 * 60 * 1000) // 4 hour
+ await first.keepAlive(60 * 60 * 1000) // 4 hour
} catch (error) {
console.error('ERROR:', error)
}