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

Commit 0f716794 authored by Kweku Adams's avatar Kweku Adams
Browse files

Increasing TombstoneSection timeout to 2 minutes.

Java trace dumps can take significantly longer than 30 seconds. Testing
suggests that 2 minutes should be ample time.

Bug: 111729299
Test: 'adb shell incident' and ensure the section doesn't time out.
Change-Id: I35e09fc1ca608122a1a352985ea3741f6ea0a344
parent 2518b289
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ private:
 */
class TombstoneSection : public WorkerThreadSection {
public:
    TombstoneSection(int id, const char* type, int64_t timeoutMs = 30000 /* 30 seconds */);
    TombstoneSection(int id, const char* type, int64_t timeoutMs = 120000 /* 2 minutes */);
    virtual ~TombstoneSection();

    virtual status_t BlockingCall(int pipeWriteFd) const;