File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
android/src/main/java/com/github/simonerm Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public interface JobDao {
1616 @ Query ("SELECT * FROM job WHERE active == 0 AND failed == '' ORDER BY priority DESC,datetime(created) LIMIT 1" )
1717 Job getNextJob ();
1818
19- @ Query ("SELECT * FROM job WHERE active == 0 AND failed == '' ORDER BY priority DESC,datetime(created)" )
19+ @ Query ("SELECT * FROM job ORDER BY priority DESC,datetime(created)" )
2020 List <Job > getJobs ();
2121
2222 @ Query ("SELECT * FROM job WHERE active == 1" )
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ extension SQLiteDatabase {
145145 return jobs
146146 }
147147 func getJobs( ) -> [ Job ] ? {
148- let querySql = " SELECT * FROM job WHERE active == 0 AND failed == '' ORDER BY priority DESC,datetime(created); "
148+ let querySql = " SELECT * FROM job ORDER BY priority DESC,datetime(created); "
149149 return getJobsByQuery ( query: querySql)
150150 }
151151 func getActiveMarkedJobs( ) -> [ Job ] ? {
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export class Queue {
9292 this . concurrency = - 1 ;
9393 }
9494 /**
95- * @returns a promise that resolves all jobs that are queued and not active
95+ * @returns a promise that resolves all jobs of jobStore
9696 */
9797 async getJobs ( ) {
9898 return await this . jobStore . getJobs ( ) ;
You can’t perform that action at this time.
0 commit comments