For published novels, 2500 to 3000 is the preferred length, according to my editor.
For POSTED Online Chapters, I personally prefer longer chapters; 3000 to 5000 words, simply because there is a time lag between chapters.
In the period of time between chapters; a week, a month, years, most...