yigit / android-priority-jobqueue

A Job Queue specifically written for Android to easily schedule jobs (tasks) that run in the background, improving UX and application stability.
3.4k stars 395 forks source link

Is it normal for a job of lesser priority to get deleted if another is fired?? #411

Open Dreamystify opened 7 years ago

Dreamystify commented 7 years ago

I have a Job which updates a comment in my app. It's configured with priority HIGH and I have a fetch comments jobs which is 1 step higher, both require network and if I fetch the comments before the update job is fired before a network connection is detected the update job gets deleted. Is this normal? shouldn't it just run after the last job? How can I configure it to not get deleted after the fetch? provided the setting of the priority can be the same. Im aware that setting the priority the same negates this issue

Cheers