I do not recall the exact time it took for the foaming to decrease, but I want to say it was about 2 weeks. I pushed the cap down at least 2 times a day while this was happening. The wine turned out great, but it was such a hassle I am not sure if I would make it again.
Hope this helps!