From 1f6218bcccd40621ee0b52998fb49ef1f5e68706 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sat, 7 May 2016 02:12:36 +0900 Subject: [PATCH] Add 10 second timeout to index updates. --- fisher.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fisher.fish b/fisher.fish index 2d50db7..6756ddd 100644 --- a/fisher.fish +++ b/fisher.fish @@ -918,7 +918,7 @@ function __fisher_remote_index_update fish -c " - curl -s 'https://api.github.com/orgs/fisherman/repos?per_page=100' | awk -v ORS='' ' + curl --max-time 10 -s 'https://api.github.com/orgs/fisherman/repos?per_page=100' | awk -v ORS='' ' { gsub(/[{}\[\]]|^[\t ]*/, \"\")