Two questions:
What was the temperature when you sprayed it (was it in a heated shop or a warm day, or was it kinda cold?)
Is it a two-part (catalyzed) primer, or rattle-can?
If it's rattle can, and it was cold when you applied it, bring it inside (or somewhere with an ambient temp. of...