Home » HTML » HTML_Progress » Bug #342
Redundant Sleep
Details
| Submitted | 2003-12-03 14:05 UTC |
|---|---|
| From | ctcnet at ctco dot lv |
| Assigned | farell |
| Status | Closed |
| Package | HTML_Progress |
| PHP Version | 4.3.3 |
| OS | any |
| Roadmaps | (Not assigned) |
Comments
[2003-12-03 14:05 UTC] ctcnet at ctco dot lv
Description:
------------
After Progress bar is updated it have sleep(1) statement.
This makes execution to pause for 1 second.
If progress bar updates 10 times during the script execution, the total time of script execution increases by 10 seconds.
This feature may be very annoying/problematic.
If progress bar is used in time-critical application, the sleep statement must be commented out.
At lease sleep time could be configurable through parameter.
I could provide the patch, just need to learn how to properly check out che latest version then diff it to my changes.
Not sure if my patch will be acceprted though.
If nobody read this or nobody want to fix it, i will provide the patch eventually.