summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorQrius <[email protected]>2024-09-26 00:11:06 +0200
committerQrius <[email protected]>2024-09-26 00:11:06 +0200
commit4a066c532f86c6ba7d90762afb9ed8ba70c9e55b (patch)
tree3a9a4f31cbe93e6350ebda6012bce6ca11982111 /src
parente59a0f60e0cb5c38d666156b7558410a9dc7d725 (diff)
downloadskaldpress-4a066c532f86c6ba7d90762afb9ed8ba70c9e55b.tar.gz
skaldpress-4a066c532f86c6ba7d90762afb9ed8ba70c9e55b.zip
Timeout wodl
Diffstat (limited to 'src')
-rw-r--r--src/macro_processor/deadlinks.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macro_processor/deadlinks.rs b/src/macro_processor/deadlinks.rs
index f8bf352..add7916 100644
--- a/src/macro_processor/deadlinks.rs
+++ b/src/macro_processor/deadlinks.rs
@@ -31,7 +31,7 @@ pub fn smp_builtin_wodl(
let link_info = match link_cache.get(&args[0]) {
Some(working_link) => working_link.clone(),
None => {
- let response = match minreq::get(&args[0]).send() {
+ let response = match minreq::get(&args[0]).with_timeout(2).send() {
Ok(s) => s,
Err(e) => {
smp.warnings