Skip to content

Commit

Permalink
Update proxybroker/api.py
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
bluet and coderabbitai[bot] authored Oct 14, 2024
1 parent 7c69e9a commit 2f765d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxybroker/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def serve(self, host='127.0.0.1', port=8888, limit=100, **kwargs):

async def run_server():
await self._server.start()
await self.find(limit=limit, **kwargs)
self._loop.create_task(self.find(limit=limit, **kwargs))

self._loop.run_until_complete(run_server())

Expand Down

0 comments on commit 2f765d1

Please sign in to comment.