summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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