If it’s natural gas, then it can linger for several days. Propane smell will stay from several minutes to a few hours.