this post was submitted on 30 Dec 2023
56 points (100.0% liked)

Lemmy

12568 readers
14 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
 

I've found the following work-around works pretty well. If you host an instance that's currently on 0.19.0 or 0.19.1, consider implementing this.

There are two bugs that this helps with:

Work-around:
Create cronjobs that restart the Lemmy container every 6 hours (but not at midnight). The following example is used for a Debian system running Lemmy in Docker.

Type crontab -e into the terminal Add something like the following:

~~0 1 * * * docker container restart lemmy-lemmy-1
0 7 * * * docker container restart lemmy-lemmy-1
0 13 * * * docker container restart lemmy-lemmy-1
0 19 * * * docker container restart lemmy-lemmy-1~~

3 1-23/6 * * * docker container restart lemmy-postgres-1 && sleep 60 && docker container restart lemmy-lemmy-1

By restarting the container every 6 hours, outbound federation continues to work. There may still be some delays, but everything gets cleared up regularly.

By telling it what time to restart (0100, 0700, 1300, and 1900 as opposed to "every 6 hours"), it avoids restarting at midnight. This avoids the second bug.

My instance has been doing this for enough days where I'm confident that it's working. You can check your federation status here. Note that it's normal for there to be 0 up-to-date instances and a lot of lagging instances. As long as they sometimes turn "up to date", then everything is getting caught up.

you are viewing a single comment's thread
view the rest of the comments
[–] CrypticCoffee@lemmy.ml 6 points 10 months ago* (last edited 10 months ago)

Because it offers new features to immature software still in development.

It gives snowflakes like yourself the ability to block woke instances so your limited brain capacity isn't overwhelmed. It also gives scaled sort, the ability to see niche sub's with less content higher up, so you can see the latest content from your favourite country music communities or about the latest NASCAR race in which people take the same turn constantly for hours on end rly fast.

Dat's some good shizz and worth updating for, surely?

Gotta love those communists that build Lemmy and give you this much joy. That do the hard stuff like running updates and testing so anyone of any (limited) ability can enjoy :).