summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-10-17 15:30:09 +0200
committerMartin Polden <mpolden@mpolden.no>2023-10-17 15:30:51 +0200
commit9bdcd76a1fe5b6e138b4760cff630ee311f48014 (patch)
treec1bca47e9fc30704a10fa1514f8e66f8605d685e /lisp
parentcdb1d7318ded6955d06791383e6fe327482b4596 (diff)
git: work around github timeouts when fetching pull requests
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 073dffd..c752eb2 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -36,6 +36,8 @@ If NOSELECT is non-nil, do not select the window."
:init
;; limit number of topics listed in status buffer
(setq forge-topic-list-limit '(10 . 0))
+ ;; work around github timeouts when fetching pull requests
+ (setq ghub-graphql-items-per-request 50)
:bind (;; killing in pullreq or issue section copies the url at point
:map forge-pullreq-section-map
([remap magit-delete-thing] . forge-copy-url-at-point-as-kill)