[GH-ISSUE #372] sleep during download #274

Closed
opened 2026-03-02 15:57:24 +03:00 by kerem · 3 comments
Owner

Originally created by @kewlfft on GitHub (May 28, 2020).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/372

Isn't the sleep(1) limiting the download speed to 1024*$chunkSize per second?

github.com/prasathmani/tinyfilemanager@0a92002919/tinyfilemanager.php (L2969)

Originally created by @kewlfft on GitHub (May 28, 2020). Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/372 Isn't the `sleep(1)` limiting the download speed to 1024*$chunkSize per second? https://github.com/prasathmani/tinyfilemanager/blob/0a920029199d88a402a5375edba30559dba13d23/tinyfilemanager.php#L2969
kerem closed this issue 2026-03-02 15:57:25 +03:00
Author
Owner

@rems28 commented on GitHub (Jun 11, 2020):

I clearly don't understand this limitation of 1 MB/s.

<!-- gh-comment-id:642902518 --> @rems28 commented on GitHub (Jun 11, 2020): I clearly don't understand this limitation of 1 MB/s.
Author
Owner

@kewlfft commented on GitHub (Dec 29, 2020):

The sleep(1) is still there limiting the download speed, @prasathmani if it is intentional what is the purpose?

<!-- gh-comment-id:752273640 --> @kewlfft commented on GitHub (Dec 29, 2020): The `sleep(1)` is still there limiting the download speed, @prasathmani if it is intentional what is the purpose?
Author
Owner

@prasathmani commented on GitHub (Feb 24, 2021):

removed b032327

<!-- gh-comment-id:784889297 --> @prasathmani commented on GitHub (Feb 24, 2021): removed b032327
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#274
No description provided.