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

Skip to content
Commit 6a1058da authored by Kweku Adams's avatar Kweku Adams
Browse files

Adjust execution limits for new job types.

Set new execution limits for user-initiated and data transfer jobs.
To start, we'll have the following execution limits:
* User-initiated: [10 minutes, 60 minutes]
* Data transfer: [10 minutes, 30 minutes] (same as regular jobs)
* User-initiated data transfer:
    [max{10 minutes, 1.35 * estimated transfer time}, 292471 millenia)

Also fix a bug in the estimated transfer time calculation.

Bug: 261622663
Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Change-Id: Ib80008acba98f740746d7f2d74ce33c57221bee5
parent 045bda74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment