What Is The Safe Dose Of X-ray Radiation In A Day?

I just had my chest x-ray last week. Because of a glitch in the x-ray machine developer, they had to repeat the procedure. I had to undergo an x-ray 3 times on that day. Is that still safe?