Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00ffb6c7 authored by Tej Singh's avatar Tej Singh
Browse files

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
parent 9113e7be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
+1 −1
Original line number Diff line number Diff line
@@ -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