Merge "Libstatspull: decrease default pull timeout to 2s" into rvc-dev am: 413668bcf3

Change-Id: I3f85933303129256e3a089b88ef03fff357f6415
This commit is contained in:
Howard Ro 2020-05-30 10:18:15 +00:00 committed by Automerger Merge Worker
commit b51a1b7335
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ AStatsEvent* AStatsEventList_addStatsEvent(AStatsEventList* pull_data) {
}
static const int64_t DEFAULT_COOL_DOWN_MILLIS = 1000LL; // 1 second.
static const int64_t DEFAULT_TIMEOUT_MILLIS = 10000LL; // 10 seconds.
static const int64_t DEFAULT_TIMEOUT_MILLIS = 2000LL; // 2 seconds.
struct AStatsManager_PullAtomMetadata {
int64_t cool_down_millis;

View File

@ -21,7 +21,7 @@
namespace {
static const int64_t DEFAULT_COOL_DOWN_MILLIS = 1000LL; // 1 second.
static const int64_t DEFAULT_TIMEOUT_MILLIS = 10000LL; // 10 seconds.
static const int64_t DEFAULT_TIMEOUT_MILLIS = 2000LL; // 2 seconds.
} // anonymous namespace