usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.53k stars 592 forks source link

[Feature] time.sleep() in random places that don't belong #1166

Open Lvl4Sword opened 10 months ago

Lvl4Sword commented 10 months ago

Describe the bug There looks to be instances; such as in cli/cyberPanel.py, that have time.sleep() used that really don't need them. restoreBackup in the cli/cyberPanel.py file has a couple, as do a few other files. What's the logic behind these? Why are they here?

To Reproduce What steps did you take when the issue occurred? N/A

CyberPanel version: https://github.com/usmannasir/cyberpanel/commit/7175a98b42a5d5bc16e58eb7cd0b68e4c0c83d89