this post was submitted on 21 Jun 2023
77 points (100.0% liked)

Lemmy

12546 readers
24 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Martineski@lemmy.fmhy.ml 0 points 1 year ago* (last edited 1 year ago) (1 children)

Sorry! My bad, numbers are incorrrect but I'm not sure how to calculate correct numbers lol. Wouldn't it be 700x699 or 699x699 because instance wouldn't have to federate with itself?

[โ€“] mycus@kbin.social 1 points 1 year ago* (last edited 1 year ago)

oh yeah, it is n * (n - 1)

bc ~700 bots need to do ~700 minus 1 actions

a continue inside an if statement checking if the bot domain is the same as the subscribing one would suffice