This always depends on how much you consume, how you consume it and your genetics, age, personality, gender and other personal biological factors.
Effects can take up to 24 hours to fully dissipate, but THC can be detectable in the bloodstream for up to seven days or more, depending on several factors, including frequency of use.
There are few reports of secondary intoxication (i.e. from second hand smoke or vape), but it also depends on a number of factors, including dose and ventilation of the space.