Not sure my experiences were typical, but stuck with it as long as I cared, then moved on. At a minimum, keep your resume hot, keep networking, and assume that all equity will be worthless. If your cash salary is sufficient, and you're having fun or learning, maybe stick around. If nothing else, watching a company crash and burn is educational.