Standard vegging time is one month.
The plant will most likely double in size and can triple in height during the vegging process.
So measure your plant now then measure how much head space you have for the plant to grow into.
That should help you decide, you don't want to run out of space because you vegged too long.