PVC "glue" isn't glue at all, it is a solvent that actually melts the two pieces of pipe being joined and then evaporates away leaving a "welded" bond.
Also, as acuaholic said, there's a good chance that the water in your tank has passed through quite a bit of PVC on its way to you already, and Pro plumbers are far from careful with how much glue they use or where it ends up.
Let it set up for 24 hours, run some water through it until you can't smell the solvent smell anymore, then, don't worry about it.
