我想實現(在Golang) r := rand.Intn(10)
time.Sleep(100 * time.Millisecond) //working
time.Sleep(r * time.Microsecond) // Not working (mismatched types int and time.Duration)
鎖定功能,我需要知道如何去實現這個想法在PHP Add random sleep (max 30s) after validation, if it was successful to emulate some long running process.
Do not allow to make bet for the same user until response is not return