Maxime Devos skribis: > Ludovic Courtès schreef op do 03-03-2022 om 22:14 [+0100]: >> +  (and (not (request-rate-limit-reached?)) >> +       (guard (c ([...] >> +                  ;; See >> +                  ;; . >> +                  (match (assq-ref (http-get-error-headers c) >> +                                   'x-ratelimit-remaining) >> +                    (#f >> +                     (raise c)) >> +                    ((? (compose zero? string->number)) >> +                     (let ((reset (update-rate-limit-reset-time! >> +                                   (http-get-error-headers c)))) >> +                       (warning (G_ "GitHub rate limit exceeded; \ >> +disallowing requests for ~a seconds~%") >> +                                (- reset (car (gettimeofday)))) >> +                       (display-hint (G_ "You can waive the rate limit by >> +setting the @env{GUIX_GITHUB_TOKEN} environment variable to a token obtained >> +from @url{https://github.com/settings/tokens} with your GitHub account. > > IIRC, the GitHub documentation doesn't state that this waives the rate > limit, rather it increases the rate limit a lot, but there's still a > limit. Good point, I’ll adjust the message accordingly.