Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Any gitea api rate limits? (Read 7527 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Re: Any gitea api rate limits?

Reply #15
It got further. I'd say about 20-30 packages then blocked :(  (I meant to count but was trigger happy closing the terminal)
This created 180 requests (90 GET + 90 POST) in 44 seconds, so I guess it triggered the POST filter. Raised both limits to 180/min.
I got a lot further with this but still got banned. Could you try something like 400/min?
ARMtix
If you need to contact me, use email

Re: Any gitea api rate limits?

Reply #16
I got a lot further with this but still got banned. Could you try something like 400/min?
Weird. It's working for me now.

The run I did yesterday at 1 git pull every 5 seconds completed successfully. In about half the time than my rough wrong calculation of 27 hours.

Another  run just completed successfully with one git pull every 1.2 seconds. I timed this one.
real    127m55.401s
user    7m18.022s
sys     4m1.553s

Add a small delay if you don't already have one ?


 

Re: Any gitea api rate limits?

Reply #19
Any new limits here? Request to https://gitea.artixlinux.org/api/v1/orgs/packages/repos?limit=400 with pycurl returns
Code: [Select]
HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
I tried requesting 200 packages per page but still got this error after a bit of time
ARMtix
If you need to contact me, use email

Re: Any gitea api rate limits?

Reply #20
Most likely storage-related issues with the server Gitea runs on. We're aware.

Re: Any gitea api rate limits?

Reply #21
@phoenix_king_rus how's it working for you lately?