Adding timestamps to processqueue

Version 3 Solutions you have discovered or come across should go here. Questions should go in the other three Version 3 forums, thank you.
Forum rules
Please do not ask questions here, this is for Version 3 Solutions you have discovered or come across.

Adding timestamps to processqueue

Postby pkimelma » 4:19pm, Sun 16 Mar, 2014

I have modified actions/processqueue.php in each version to spit out a time stamp into the start and end of the processing. The reasoning is two-fold:
1. You can see how long it took to process the N mails and whether you were close to PHP exec limits (or cron limits). This happens because SendMail() can block for a bit because send() can block to decide if accepted.
2. You can tell if the web version is stalled.

I think this should be an option for anyone since I suspect many would find this beneficial. How does one submit this?
pkimelma
phpLister
 
Posts: 13
Joined: 4:45am, Mon 19 Mar, 2007

Return to Answers, HowTos, Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron