dice64, you are right, I will add hash. Unfortunately my current server is not working good with such much traffic.
HallowIP, do not worry about it, if you always roll "1", it means that the server is overloaded, but your money is safe.
I'm sorry for troubles.
You should have added it before you started, why would the server always roll 1 if it was overloaded? Shouldn't it raise an HTTP 503? Always returning a 1 shows that you've written some logic to change the result outside of the method you've already said.
Also, just from a single test, I can see you aren't using atomic database transactions.