Not too long
It may be due to edema
- accumulation of fluid but you need to be evaluated for the cause.
It could be medications, medical diseases, varicose veins to name a few. There are other things including blood clots in the legs and this needs immediate attention.