mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
40e5d2303b
to_s method of HTTP::Response keeps blocking while it receives the whole content, no matter how it is big. This means it may waste time to receive unacceptably large files. It may also consume memory and disk in the process. This solves the inefficency by checking response length while receiving. |
||
---|---|---|
.. | ||
confirmation_worker.rb | ||
delivery_worker.rb | ||
distribution_worker.rb | ||
raw_distribution_worker.rb | ||
subscribe_worker.rb | ||
unsubscribe_worker.rb |