Skip to content

Commit

Permalink
use asyncio main loop in twisted
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Feb 8, 2023
1 parent f545f0f commit b9bcf4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shop.tac
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
# ./venv/bin/twistd -ny shop.tac
##############################################################################

# use asyncio main loop in twisted
from twisted.internet import asyncioreactor
asyncioreactor.install()

from twisted.application import internet
from twisted.application import service
from twisted.internet import reactor
Expand Down

0 comments on commit b9bcf4c

Please sign in to comment.