Commit 33eb603c authored by Robert P. Cope's avatar Robert P. Cope
Browse files

Update operations.py

Lowered maxReturned to within new thresholds. Should fix ASKOVAD-287.
parent d372da2f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -170,7 +170,7 @@ class GetPrevious(object):
class GetKeyRange(object):

    @staticmethod
    def build(startKey, endKey, startKeyInclusive=True, endKeyInclusive=True, maxReturned=256):
    def build(startKey, endKey, startKeyInclusive=True, endKeyInclusive=True, maxReturned=200):
        if len(startKey) > common.MAX_KEY_SIZE: raise common.KineticClientException("Start key exceeds maximum size of {0} bytes.".format(common.MAX_KEY_SIZE))
        if len(endKey) > common.MAX_KEY_SIZE: raise common.KineticClientException("End key exceeds maximum size of {0} bytes.".format(common.MAX_KEY_SIZE))