fixed

Grato,

Waldecir



On Sat, Apr 6, 2013 at 4:26 PM, Peter Bengtsson <notifications@github.com>wrote:

> In tornado/server.py:
>
> > +            world = world[0][0]
> > +        else:
> > +            worlds = []
> > +            for i in xrange(int(queries)):
> > +                random_id = random.randint(1, 10000)
> > +                world = yield gen.Task(db.world.find_one,{"randomNumber": random_id}, fields={"_id": 0, "id": 1, "randomNumber": 1})
> > +                # Get first postion on arguments, and so first postion in mongo return
> > +                worlds.append(world[0][0])
> > +
> > +            worlds = escape.json_encode(worlds)
> > +            self.set_header("Content-Type", "application/json; charset=UTF-8")
> > +
> > +        self.write(worlds if queries > 0 else world)
> > +
> > +
> > +class SingleQueryTestHandler(tornado.web.RequestHandler):
>
> Was this an incomplete first start?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/TechEmpower/FrameworkBenchmarks/pull/105/files#r3684701>
> .
>