Set libev loop as default for tests
This commit is contained in:
parent
95e2b7120c
commit
6f677d2557
@ -19,7 +19,7 @@ from cassandra.io.asyncorereactor import AsyncoreConnection
|
||||
from cassandra.io.eventletreactor import EventletConnection
|
||||
from cassandra.io.twistedreactor import TwistedConnection
|
||||
|
||||
EVENT_LOOP_MANAGER = os.getenv('EVENT_LOOP_MANAGER', "gevent")
|
||||
EVENT_LOOP_MANAGER = os.getenv('EVENT_LOOP_MANAGER', "libev")
|
||||
if EVENT_LOOP_MANAGER == "gevent":
|
||||
import gevent.monkey
|
||||
gevent.monkey.patch_all()
|
||||
|
Loading…
Reference in New Issue
Block a user