Automattic / kue

Kue is a priority job queue backed by redis, built for node.js.
http://automattic.github.io/kue
MIT License
9.45k stars 862 forks source link

Prevent data in failed job list #1233

Open mohsensaremi opened 4 years ago

mohsensaremi commented 4 years ago

I am passing html string as data to my jobs. When a job failed all the html data will save in failed job in redis and cause 2 problem. 1.Use a lot of memory. 2.When I want to see failed job in web GUI, the AJAX response is too heavy and I should wait a lot to download it. /jobs/failed/... api response is too large and very slow.

Is there a way to customize what data should save in failed job?