How long can you wait in jail before trial?

How long can you sit in jail on a felony charge? The prosecution keeps cancelling my husband 's court dates.
Please sign in to answer this question.
Do you have a legal question?