Loren Posted December 21, 2018 Posted December 21, 2018 The task does not seem to be running on it's own. I waited three days and it never ran - so I ran it manually.
Faqole Posted December 21, 2018 Author Posted December 21, 2018 1 hour ago, Loren said: The task does not seem to be running on it's own. I waited three days and it never ran - so I ran it manually. That is strange. Can you post a screenshot of the plugin 's settings and taks page?
Faqole Posted December 22, 2018 Author Posted December 22, 2018 I can not reproduce this myself. I see that you have quite a lot tasks added by other third party plugins. It might be a server thing or a conflict elsewhere. You can open a ticket about this so one of the Ipb staff can look into the task settings.
Daniel F Posted December 23, 2018 Posted December 23, 2018 22 hours ago, Faqole said: so one of the Ipb staff can look into the task settings. It's an issue in your app:) This is just bad practice: foreach( new \IPS\Patterns\ActiveRecordIterator( \IPS\Db::i()->select( '*', 'core_message_topics', $where), 'IPS\core\Messenger\Conversation' ) AS $conversation ) { You should use a limit here and iterate only over X items on each task call. Additional to using the limit, you could and should use Task::runUntilTimeout here which will repeatedly call the method and delete any further private messages as long as the PHP process allows this.
Faqole Posted December 23, 2018 Author Posted December 23, 2018 The task lock issue has been fixed. @Loren, please download the new version of the plugin and do an update.
Loren Posted December 25, 2018 Posted December 25, 2018 Looks like it running as it should now. Thanks again for addressing this issue!
Faqole Posted December 25, 2018 Author Posted December 25, 2018 3 hours ago, Loren said: Looks like it running as it should now. Thanks again for addressing this issue! You are welcome
Recommended Posts
Archived
This topic is now archived and is closed to further replies.