Stop getting the Plex Media lists on a restart.

Elrique64 asked for this feature over 4 years ago — 2 comments

Elrique64 commented over 4 years ago

There is a set time frame for how often Ombi goes out to check the media on the server. My suggestion is to not do a forced update of the media, if Ombi is restarted during that time frame. For instance, this info is gathered every 60 minutes if the server is running without any issues, it should poll PMS every 60 minutes to see if there is new content. But I've had a number of crashes/bugs, and when I go to restart Ombi it starts up with the banner saying it's updating the PMS contents again. Responses are slow, or create another crash.

The ideal would be to write the time that the last PMS update was done to the DB, and if the restart is within that time frame, don't update again.

| tidusjar commented over 4 years ago Admin

The reason for this was a historic one, we kept all of the data in an in-memory cache which I could then do quick lookups. I have started moving away from this and storing the data in the local database (SQLite). So this is now possible and I think it's a very good idea.

Join the discussion!

with GitHub to comment