this post was submitted on 02 Apr 2025
2 points (75.0% liked)

Haupteingang

684 readers
2 users here now

Die Standard-Community von feddit.org

In dieser Community geht es um:

Was nicht Zweck dieser Community ist:

Regeln:


The standard community of feddit.org

This community is for:

What is not the purpose of this community:

Rules:

founded 9 months ago
MODERATORS
 

Hi, folks.

The user settings Import feature isn't working for me. Every time I try to import the .json file, I get the following error message:

Please wait a few minutes before trying to import or export settings again

It still failed 5 minutes later, and again 15 minutes after that. Is import functionality broken on this instance?


Edit:

I tried again seven hours later, and it finally worked. I wonder what was going wrong earlier.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 days ago (2 children)

this was likely an issue with lemmy's rate limits.

there is a dedicated rate limit for importing settings, which is currently set to 1 attempt per 24h. unfortunately this setting is not exposed in the web interface, which is likely why we didn't originally adjust this to a higher number.

i'll have have a look at raising that.

[–] [email protected] 1 points 3 days ago (1 children)

Thank you.

It's worth noting that import failed the very first time I tried it, as a new user.

Maybe Lemmy's rate limiter is coded to count exports the same as imports? That would explain the behavior I observed, because I did export my settings first, so I could edit them and then import, which failed. That logic would seem bizarre, though, both because I would expect an export to be cheap and not worth throttling, and because I would expect an export/edit/import cycle to be a somewhat commonly needed operation (even if not frequently used).

[–] [email protected] 2 points 3 days ago

i just checked and it is indeed using the same rate limit for settings exports.