As far as I'm aware, cops can wait for 10 minutes before having to leave for 30 minutes. However, if they have adequate reasoning, e.g. a gunfight or noticing a few HEMMTs near the drug dealer, the officers would have the right to stay as they aren't camping, they have a reason to be there.