Your online course should be the length required to share the necessary knowledge expected by your audience. If your advertising lines up with the delivery of the course, then you're audience will be satisfied. Value matters more than length.