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

Commit 413668bc authored by Howard Ro's avatar Howard Ro Committed by Android (Google) Code Review
Browse files

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

parents b2cc8cb2 00ffb6c7
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