diff options
author | elie <elie> | 2012-07-21 20:47:41 +0000 |
---|---|---|
committer | elie <elie> | 2012-07-21 20:47:41 +0000 |
commit | fd32321d09130cc01b38775e24a5659d33d06290 (patch) | |
tree | e8cdb8bcdb3732f030e585e31e66e42aada82790 /pysnmp/proto/mpmod | |
parent | b4119e684ce5d7c299f04be1d5fe1aefae85f67f (diff) | |
download | pysnmp-git-fd32321d09130cc01b38775e24a5659d33d06290.tar.gz |
hugely increase cache autoexpiration timeout (is it needed at all?)
Diffstat (limited to 'pysnmp/proto/mpmod')
-rw-r--r-- | pysnmp/proto/mpmod/cache.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/proto/mpmod/cache.py b/pysnmp/proto/mpmod/cache.py index 504b1395..eec83570 100644 --- a/pysnmp/proto/mpmod/cache.py +++ b/pysnmp/proto/mpmod/cache.py @@ -22,7 +22,7 @@ class Cache: 'Cache dup for stateReference=%s at %s' % (stateReference, self) ) - expireAt = self.__expirationTimer+60 + expireAt = self.__expirationTimer+600 self.__stateReferenceIndex[stateReference] = ( msgInfo, expireAt ) # Schedule to expire @@ -54,7 +54,7 @@ class Cache: raise error.ProtocolError( 'Cache dup for msgId=%s at %s' % (msgId, self) ) - expireAt = self.__expirationTimer+60 + expireAt = self.__expirationTimer+600 self.__msgIdIndex[msgId] = ( msgInfo, expireAt ) self.__sendPduHandleIdx[msgInfo['sendPduHandle']] = msgId |