use random id for new clients

remove 'asdf' id used during testing
This commit is contained in:
Roman Shtylman
2012-06-18 13:40:33 -04:00
parent 93d62b9dbb
commit 682e58c68e

View File

@@ -225,10 +225,8 @@ server.on('connection', function(socket) {
server.on('request', function(req, res) {
// generate new shit for client
var id = 'asdf';
//rand_id();
//
//
var id = rand_id();
if (wait_list[id]) {
wait_list[id].forEach(function(waiting) {
waiting.end();