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.

  • surprised pikachu@feddit.orgM
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 days ago

    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.

    • who@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 days ago

      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).