summaryrefslogtreecommitdiff
path: root/client/.gitattributes
diff options
context:
space:
mode:
authorVictor Shyba <victor.shyba@gmail.com>2015-09-06 05:39:05 -0300
committerVictor Shyba <victor.shyba@gmail.com>2015-09-24 19:39:56 -0300
commitf9faa007bc0d5d681f85aa246ea05ec5fe35ccc5 (patch)
treea1f276edd0ddc2a5a8a39bce77060f3c0065baea /client/.gitattributes
parentd39b408e92bb2fa6a2dac3835e2f5209d2eee94c (diff)
[feat] adds caching for other gen and trans id
There are two functions in couch.py used to save and retrieve the last know gen and trans id for the syncing replica. The get function is called very often, but is only set on one point. Added a simple caching to avoid queying couch for a value that we already have. If cache is empty, it just query as usual and fills it.
Diffstat (limited to 'client/.gitattributes')
0 files changed, 0 insertions, 0 deletions