Spyke

Posts

lemmy_support·Lemmy SupportbyGodOfThunder

What is the default rate limit? Can I find the rate limit programmatically?

I'm getting rate_limit_error on the API when posting posts with just title+url. What is the default rate limit for posts? Do all requests have a rate limit or only posts?

Can I get the rate limit from an instance with a request to the API?

Edit:

{
  "local_site_rate_limit": {
    "id": 1,
    "local_site_id": 1,
    "message": 180,
    "message_per_second": 60,
    "post": 6,
    "post_per_second": 600,
    "register": 3,
    "register_per_second": 3600,
    "image": 6,
    "image_per_second": 3600,
    "comment": 6,
    "comment_per_second": 600,
    "search": 60,
    "search_per_second": 600,
    "published": "2023-02-05T03:52:36.832982"
  }
}

I'm getting limit rate with a 10 second delay so 1/post_per_second = 0,0016 seconds / post delay is not right. So what do those even mean and what is the delay I should have between posts?

View original on lemm.ee
asklemmygrad·Ask LemmygradbyGodOfThunder

What are your favorite clips that mainstream media would never show?

Mainstream media is often accused of being a government propaganda tool, and there are many things they would never show. I've thought about this after seeing the clip titled "You are a disgrace! Canada PM Trudeau savaged by German MEP at EU Parliament" on YouTube. Taking a quick look at YouTube, I see it's not covered by any of the popular mainstream propaganda outlets. There are probably many other clips like this that they would never show.

What are your favorite ones?

View original on lemm.ee