Skip to content

Commit

Permalink
Revert changes in worker.GunicornWebWorker
Browse files Browse the repository at this point in the history
Reverts changes in `worker.GunicornWebWorker` according to
#1 (comment)

They could be introduced in a separate PR.
  • Loading branch information
f0t0n committed Aug 20, 2016
1 parent 950bbe0 commit d614ec5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aiohttp/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ def run(self):
self._runner = ensure_future(self._run(), loop=self.loop)

try:
self.loop.run_until_complete(asyncio.gather(self._runner,
self.wsgi.startup(),
loop=self.loop))
self.loop.run_until_complete(self._runner)
finally:
self.loop.close()

Expand Down

0 comments on commit d614ec5

Please sign in to comment.