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.
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.
<iframe src="https://giphy.com/embed/11sBLVxNs7v6WA" width="480" height="217" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/cheer-cheering-11sBLVxNs7v6WA">via GIPHY</a></p>
If you have any questions or concerns, please get in touch with me. (@akshaysura13 on Twitter or on Slack).