Why just not to set those limits and render? It never won't render more than for 1 hour, more than 400 passes and won't reach less than 3% noise treshold. It's very simple and easy to understand. Should there be additional conditions, that would make all process too complicated to understand for non matematitians, like me.