What is the minimum allowable length of the inlet compartment of a septic tank?

What is the minimum allowable length of the inlet compartment of a septic tank?