[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#955268: udd watch: "429 too many requests" from GitHub



Le 30/03/2020 à 08:25, Lucas Nussbaum a écrit :
> On 29/03/20 at 23:52 +0200, Adam Borowski wrote:
>> On Sun, Mar 29, 2020 at 05:53:11PM +0200, Xavier wrote:
>>>>>> IIRC with an access token the limit is 5000 queries per hour.  Without a
>>>>>> token, much, much less.
>>>>>
>>>>> The UDD code calls uscan. Is there a way for uscan to use an access
>>>>> token?
>>>>
>>>> not for now, but I can add this feature. Just to insert an additional
>>>> header ?
>>>
>>> This little diff adds --http-header option. To use it:
>>>
>>> uscan --http-header=Access-Token=qwertyuiop
>>>
>>> Sounds good for you ?
> 
> Yes, thanks!

Done: https://salsa.debian.org/debian/devscripts/-/merge_requests/181

Cheers,
Xavier


Reply to: