BLeeEZ / amperfy

Amperfy is an iOS/iPadOS/macOS app to play songs from an Ampache or Subsonic server
GNU General Public License v3.0
502 stars 40 forks source link

Library sync causes tons of requests, massive log bloat on server and server load #345

Open eharris opened 1 week ago

eharris commented 1 week ago

When logging in, the library sync is WAY too heavy on the server. It appears to be trying to do some sort of lookup/query for every single song in the library, which is insane for any library that isn't relatively small. This ended up filling up the server's logs partition and causing massive problems on the server.

I've looked through the settings and there seems to be no way to disable this behavior. Until this is fixed, the app seems to be unusable.

BLeeEZ commented 1 week ago

In beta v1.2.2 the sync process is skippable.

eharris commented 1 week ago

Seems like there should be some heuristic to automatically disable it if the library is over a certain (configurable) size.