2

I want to start a hard Worker.class, but when phone switching to Doze mode and then maintenance window comes sometimes is not enough time to finish Job and I need an event to close timers and to save databases

Igor Kostenko
  • 2,754
  • 7
  • 30
  • 57

1 Answers1

2

You have 10 mins to complete your work. If you need more time, I suggest splitting up your work and scheduling more Workers.

Rahul
  • 19,744
  • 1
  • 25
  • 29
  • My understanding of this response is that this 10 minute limit reflects to time constraint of the Worker's doWork(), correct? You're not necessarily saying that Doze mode maintenance windows are 10 minutes long, right? – JHowzer May 15 '19 at 23:36