summary refs log tree commit diff
path: root/tests/guix-graph.sh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-08-29 15:59:16 +0200
committerLudovic Courtès <ludo@gnu.org>2019-09-02 15:25:01 +0200
commitba1c1853a79a5930ca7db7a6b368859f805df98d (patch)
tree18b06a520f1038e07053bd79bbbf3c473246778e /tests/guix-graph.sh
parent9323ab550f3bcb75fcaefbb20847595974702d5b (diff)
downloadguix-ba1c1853a79a5930ca7db7a6b368859f805df98d.tar.gz
swh: Add hooks for rate limiting handling.
* guix/swh.scm (%allow-request?, %save-rate-limit-reset-time)
(%general-rate-limit-reset-time): New variables.
(request-rate-limit-reached?, update-rate-limit-reset-time!): New
procedures.
(call): Call '%allow-request?'.  Change 'swh-error' protocol to pass
METHOD in addition to URL.
* tests/swh.scm ("rate limit reached")
("%allow-request? and request-rate-limit-reached?"): New tests.
Diffstat (limited to 'tests/guix-graph.sh')
0 files changed, 0 insertions, 0 deletions