@inetafrica/open-claudia 1.13.0 → 1.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bot.js +2 -2
- package/package.json +1 -1
package/bot.js
CHANGED
|
@@ -266,8 +266,8 @@ if (!fs.existsSync(FILES_DIR)) fs.mkdirSync(FILES_DIR, { recursive: true });
|
|
|
266
266
|
const MAX_FILE_SIZE = 50 * 1024 * 1024; // 50MB max for documents
|
|
267
267
|
const MAX_VOICE_SIZE = 10 * 1024 * 1024; // 10MB max for voice/audio
|
|
268
268
|
|
|
269
|
-
// Process timeout (
|
|
270
|
-
const MAX_PROCESS_TIMEOUT =
|
|
269
|
+
// Process timeout (2 hours max)
|
|
270
|
+
const MAX_PROCESS_TIMEOUT = 120 * 60 * 1000;
|
|
271
271
|
|
|
272
272
|
// ── Persistent state ───────────────────────────────────────────────
|
|
273
273
|
const STATE_FILE = path.join(CONFIG_DIR, "state.json");
|