It is tight but doable. Depends how many other flights are going through customs at that time. Last year passport scanners were quick, but only 4 officers in booths. Line was really backed up. Luggage was slow also. Just made it to next gate.