I think it depends on your capability as well as story line.
Most my episodes are between 10 -20 minutes but I wrote one that took me like a month that ended up being almost 7000 lines and it was like an hour long.
I probably could have split it up but it was so crucial to the story line that I just kept going. I don’t recommend this because some people will not like it.
I haven’t done anything like this since but I recommend not looking at lines because if you include a lot of directing, an episode can still be very short so perhaps timing is the way to go.