Chest infections or pneumonias can sometimes take weeks to months for the inflammation
to go down.
And even though the infection has been cleared, the symptoms can linger that long too. Depending on the size and extent of your infection, it could take that long for symptoms to completely resolve. I'd ask your doctor specifically. Good luck.