mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 13:17:47 +01:00
Compare commits
1 Commits
723b0323e3
...
9003c4fe50
Author | SHA1 | Date | |
---|---|---|---|
|
9003c4fe50 |
@ -393,9 +393,6 @@ trait Files
|
|||||||
}
|
}
|
||||||
await($promises, $cancellation);
|
await($promises, $cancellation);
|
||||||
await($resPromises, $cancellation);
|
await($resPromises, $cancellation);
|
||||||
if ($totalSize === 0) {
|
|
||||||
throw new AssertionError('You uploaded an empty file!');
|
|
||||||
}
|
|
||||||
$time = microtime(true) - $start;
|
$time = microtime(true) - $start;
|
||||||
$speed = (int) ($totalSize * 8 / $time) / 1000000;
|
$speed = (int) ($totalSize * 8 / $time) / 1000000;
|
||||||
if (!$size) {
|
if (!$size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user