Skip to content

Commit

Permalink
Use gevent queue when available.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbangert committed Apr 23, 2012
1 parent 9113e2a commit 4f1c0c4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pycassa/pool.py
Expand Up @@ -4,7 +4,11 @@
import threading
import random
import socket
import Queue

try:
from gevent import queue as Queue
except ImportError:
import Queue

from thrift import Thrift
from connection import Connection
Expand Down

0 comments on commit 4f1c0c4

Please sign in to comment.