My website slows down and the server CPU rises.This problem started with the last update especially. The solution is recovering when we unload the xf_job table in the database.
How can I fix this problem? Please help me :(
This is example screen of databese.
In my code I create a new job with this code:
\XF::app()->jobManager()->enqueueUnique('solvedAlerting_' . time(), 'QuestionThreads:Alerter', $jobParams);
How can I stop the job by it's key programmatically?
I know that all currently running jobs are stored in xf_job table. And deleding records...