Skip to content

Commit ad1132f

Browse files
authored
feat: remove limitation to refresh Cloud Jobs list only after 30 seconds (#2332)
1 parent a3bc1d8 commit ad1132f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib/ParseApp.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -532,10 +532,6 @@ export default class ParseApp {
532532
}
533533

534534
getJobStatus() {
535-
// Cache it for a 30s
536-
if (new Date() - this.jobStatus.lastFetched < 30000) {
537-
return Promise.resolve(this.jobStatus.status);
538-
}
539535
let query = new Parse.Query('_JobStatus');
540536
query.descending('createdAt');
541537
return query.find({ useMasterKey: true }).then((status) => {

0 commit comments

Comments
 (0)