this post was submitted on 14 May 2025
315 points (99.7% liked)

Programming

21400 readers
62 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

An update from GitHub: https://github.com/orgs/community/discussions/159123#discussioncomment-13148279

The rates are here: https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28

  • 60 req/hour for unauthenticated users
  • 5000 req/hour for authenticated - personal
  • 15000 req/hour for authenticated - enterprise org
you are viewing a single comment's thread
view the rest of the comments
[–] tal@lemmy.today 49 points 1 month ago (3 children)

60 req/hour for unauthenticated users

That's low enough that it may cause problems for a lot of infrastructure. Like, I'm pretty sure that the MELPA emacs package repository builds out of git, and a lot of that is on github.

[–] Xanza@lemm.ee 31 points 1 month ago* (last edited 1 month ago) (1 children)

That’s low enough that it may cause problems for a lot of infrastructure.

Likely the point. If you need more, get an API key.

[–] lolcatnip@reddthat.com 1 points 1 month ago (1 children)

Or just make authenticated requests. I'd expect that to be well within with capabilities of anyone using MELPA, and 5000 requests per hour shouldn't pose any difficulty considering MELPA only has about 6000 total packages.

[–] Xanza@lemm.ee 2 points 1 month ago

This is my opinion on it, too. Everyone is crying about the death of Github when they're just cutting back on unauthenticated requests to curb abuse... lol seems pretty standard practice to me.

[–] NotSteve_@lemmy.ca 13 points 1 month ago (1 children)

Do you think any infrastructure is pulling that often while unauthenticated? It seems like an easy fix either way (in my admittedly non devops opinion)

[–] Semi_Hemi_Demigod@lemmy.world 6 points 1 month ago

If I’m using Ansible or something to pull images it might get that high.

Of course the fix is to pull it once and copy the files over, but I could see this breaking prod for folks who didn’t write it that way in the first place

[–] hinterlufer@lemmy.world 6 points 1 month ago

I didn't think of that - also for nvim you typically pull plugins from git repositories