From 46bba4f83678ee4b534aff55492e8b7aa6030dd5 Mon Sep 17 00:00:00 2001
From: Thomas Hansen
Date: Wed, 11 Oct 2023 12:56:50 +0300
Subject: [PATCH] Adding timeout to retrieval of HTML
---
.../system/openai/magic.startup/crawling/magic.ai.url.get.hl | 1 +
1 file changed, 1 insertion(+)
diff --git a/backend/files/system/openai/magic.startup/crawling/magic.ai.url.get.hl b/backend/files/system/openai/magic.startup/crawling/magic.ai.url.get.hl
index 68da128543..11f4bf572c 100644
--- a/backend/files/system/openai/magic.startup/crawling/magic.ai.url.get.hl
+++ b/backend/files/system/openai/magic.startup/crawling/magic.ai.url.get.hl
@@ -32,6 +32,7 @@ slots.create:magic.ai.url.get
// Retrieving HTML document from specified URL.
http.get:x:@.arguments/*/url
+ timeout:60
// Sanity checking above invocation.
if
|