diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-26 23:15:53 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2024-03-26 23:15:53 +0000 |
commit | 5d3af3649f82ac02aaad410547b84f8e22590067 (patch) | |
tree | e197fb4f52a99b9597c8dd7024c90677f5931698 | |
parent | 1977781b7a671c4e08034ed6f4217d6baad70cc1 (diff) | |
parent | 445b6460baff50a2f22eeed4a0aef70bece6fdb0 (diff) | |
download | weaver-sdk-release.tar.gz |
Snap for 11630439 from 445b6460baff50a2f22eeed4a0aef70bece6fdb0 to sdk-releasesdk-releasebusytown-mac-infra-release
Change-Id: I27a630a04e2a76a4649a9a177c276e8dd35b5bc9
-rw-r--r-- | libese_weaver/src/weaver-impl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libese_weaver/src/weaver-impl.cpp b/libese_weaver/src/weaver-impl.cpp index 85f950b..a253545 100644 --- a/libese_weaver/src/weaver-impl.cpp +++ b/libese_weaver/src/weaver-impl.cpp @@ -156,6 +156,9 @@ Status_Weaver WeaverImpl::Read(uint32_t slotId, const std::vector<uint8_t> &key, if (mParser->ParseGetDataInfo(std::move(resp), getDataInfo) == WEAVER_STATUS_OK) { /* convert timeout from getDataInfo sec to millisecond assign same to read response */ readRespInfo.timeout = (getDataInfo.timeout * 1000); + if (getDataInfo.timeout > 0) { + status = WEAVER_STATUS_THROTTLE; + } } } } |