by purvis · 9y ago · 0 comments
# user is given 20 seconds to approve the request
20.times{
sleep 1
sltoken = REDIS.get("sl:#{state}")
break if sltoken
}
https://github.com/homakov/cobased/blob/master/app/controlle...I have no reason to think it's unacceptable, was just curious. Interesting project!