Commit 139e10d9 by Calen Pennington Committed by Don Mitchell

Teach mongo_connection to retry read operations in the face of AutoReconnect errors

parent d4927de0
...@@ -13,7 +13,6 @@ from functools import wraps ...@@ -13,7 +13,6 @@ from functools import wraps
from pymongo.errors import AutoReconnect from pymongo.errors import AutoReconnect
from xmodule.exceptions import HeartbeatFailure from xmodule.exceptions import HeartbeatFailure
from xmodule.modulestore.split_mongo import BlockKey from xmodule.modulestore.split_mongo import BlockKey
from datetime import tzinfo
import datetime import datetime
import pytz import pytz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment