Libstatspull: decrease default pull timeout to 2s
Decrease the default pull timeout to 2 seconds. Test: atest LibStatsPullTests Test: atest libstatspull_test Bug: 154056912 Change-Id: I8f7660de64e8c74a8c7ce7d252369c0456895e3b
This commit is contained in:
parent
9113e7be95
commit
00ffb6c77e
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue