Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 6, 2024
1 parent 0d1940b commit b9d4081
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions github_app_geo_project/scripts/process_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,8 +825,7 @@ async def _async_main() -> None:
def main() -> None:
"""Process the jobs present in the database queue."""
socket.setdefaulttimeout(int(os.environ.get("GHCI_SOCKET_TIMEOUT", 120)))
with asyncio.Runner() as runner:
runner.run(_async_main())
asyncio.run(_async_main())


if __name__ == "__main__":
Expand Down

0 comments on commit b9d4081

Please sign in to comment.