Solved - Sitecore Commerce Minions recycles/resets every 20 minutes

This is a quick post, and I am hoping that it can help others who are searching for similar fixes. While working with a huge commerce implementation, I ran into an issue where the Sitecore Commerce Minion was timing out and recycling itself every 20 minutes. This meant that the Import I was running restarted every 20 minutes.

I tried cleaning up the environment, I removed AdventureWorks and Habitat environments, but nothing helped. I happened to look at the application pool for the Commerce Minions role and found that even though the .NET Core process was busy importing, due to the default setting of the Idle Time-out, it recycled it.

Sitecore Commerce Minion

By default, the Start Mode is set to AlwaysRunning, which is correct. When the AlwaysRunning is true, the Idle Time-out should be 0 (Zero) so that it can ignore it. Once the setting was fixed, my Minions are very happy.


If you have any questions or concerns, please get in touch with me. (@akshaysura13 on twitter or on Slack).