Is it time to get rid of TotalTimeUnclaimedIdle?
In case of busy pool, like in cms, negotiation cycles could be quite long. At times it is possible that a resource may not be considered at all for match making if the cycle runs long enough and triggers max allowed time for the cycle. In such cases it is quite easy for the existing idle glideins to trigger TotalTimeUnclaimedIdle after their first job run.
One of the options was to remove the TotalTimeUnclaimedIdle and only shutdown a glidein based on idle time since it entered idle state.
There is always a possibility that pre-emption would play badly with this. We need to investigate it if this becomes a priority.