There is no 'right' duration for a discovery period but most are between 2 and 6 weeks. Much shorter than this means it's unlikely you're digging into the mission, opportunities and any obstacles properly. Much longer than this and you effectively slip into a waterfall approach of trying to plan everything precisely upfront, and by the time you come to deliver it, lots will have changed.