-
-
Notifications
You must be signed in to change notification settings - Fork 43
Description
When I first setup Huntarr (a few months ago?), I wasn't sure what I was doing exactly so I think I started with state management reset interval set to a low setting like 1 week or 2 weeks, perhaps that was the default or near the default. Sleep time between searches was 20 minutes I believe, perhaps the default. There was a flurry of activity, as there is for everyone first using this app. Once I saw that, I realized I wanted the scope of this search to exist on a longer schedule and to run less often, so I increased the time between searches as well as increased the state management reset interval (first to 1 month, then to 2 months). Currently I am doing 60 minutes of sleep between searches for both Sonarr and Radarr. Some weeks later, I thought Huntarr would get to a quiet period, where it had already run through all of my items in Sonarr and Radarr. Then there'd be no futher Huntarr searches until the state management period ended. But I keep seeing the number of Active Tracked items in the state management go to 0. At first I thought that the previous reset interval on existing items would have to age out first before the new reset interval would be applied. But then a few weeks went by and I'm still seeing the tracked items go back to 0, starting the search over.
I did a little arithmetic to sanity check. I have 2400 movies, Huntarr searches 4 movies at a time for possible upgrades, with a 60 minute sleep delay between the round of 4 searches. So that's 600 rounds of searches, which take about 600 hours or 25 days. So if I look in the history for the upgrade for a single movie, I should only see 1 upgrade search for said movie in the last 25 days. Instead, I see 4 or 5 upgrade searches. For all movies, I had hoped for 25 days of upgrade movie activity, followed by about 35 days of waiting.
So how does state management work? Because it doesn't work in several of the ways I thought it might.
Or maybe state management works fine, but some event keeps unintentionally resetting the actively tracked items to 0, like whenever Huntarr gets updated and my docker manager grabs and loads the new docker image.
Thanks for all your work on the app, it's great, I just need to understand how to work with the state management.