jamesrwhite / minicron

🕰️ Monitor your cron jobs
GNU General Public License v3.0
2.34k stars 154 forks source link

Improve web ui performance when lots of data exists #292

Open zodman opened 7 years ago

zodman commented 7 years ago

and all excutation logs from 2 months ago will delete ...

jamesrwhite commented 7 years ago

Could you clarify what you mean please?

zodman commented 7 years ago

minicron generate a lot of executions in the mean time.

it is posible ... delete the executations history passing a parameter of time ago .. like 2 months ...

$ minicron cleanup-history 2m

jamesrwhite commented 7 years ago

Thanks for the clarification. I understand your point but I think the actual fix here is more improving how minicron deals with lots of data. It shouldn't be a problem to have several months of data but I am aware it can slow down parts of the web ui down currently as it doesn't handle it well.

If pagination/limits are implemented in the relevant places I think this can be resolved without requiring the ability to delete old data. This is related to https://github.com/jamesrwhite/minicron/issues/238.