From 9bdcd76a1fe5b6e138b4760cff630ee311f48014 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Tue, 17 Oct 2023 15:30:09 +0200 Subject: git: work around github timeouts when fetching pull requests --- lisp/init-git.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp') 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) -- cgit v1.2.3