I think it is something like a 2 hour window, maybe a bit longer. But once you’ve been away for a certain amount of time you aren’t presented as a target for others.
edit: Ok, more like 5 hours. From the botter thread:
So over time, inactivity drops you out.