It's up to you. Cannabis is a plant that actually can complete its entire photosynthesis cycle efficiently under light conditions.
I do all my vegging on 24 hours of light and my roots are fine thx. You want good root development, plants need sufficient phosphorous, and Thiamine is nice too.