This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
The Add_NewBreaks script exceeds the maximum allowable execution time on some servers.A new method is needed to execute this script in smaller segments, and provide a progress bar for its execution.
Plan:Use an AJAX script to retrieve the range of dates to gather data from, and divide the database calls into separate AJAX calls. When an AJAX call is successful, advance the progress bar appropriately.
Major changes made to AJAX script for 'Refresh Stats'.
Still timing out on my dev box at these values: [2][3229,3251,3285,4598,4638,4671,4791,4819,5074,5280][2012-02-19 00:00:00] [2][49,1777,3229,3399,4228,4598,4671,4819,6071,6179][2012-02-26 00:00:00] [2][2234,3229,3285,4598,4671,4819,6057,6199,7399,8015][2012-03-11 00:00:00] [2][49,3175,3285,6057,6179,6199,6492,6532,6648,7257][2012-03-18 00:00:00]
Investigate what's making these particular dates take so long.
To post a comment, please login or register a new account.