mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-26 00:26:29 +00:00
Remove extraneous space
This commit is contained in:
parent
8be9d85d51
commit
24a6c31b18
@ -31,12 +31,10 @@ module Invidious::ConnectionPool
|
|||||||
def {{method.id}}(*args, **kwargs, &)
|
def {{method.id}}(*args, **kwargs, &)
|
||||||
self.checkout do | client |
|
self.checkout do | client |
|
||||||
client.{{method.id}}(*args, **kwargs) do | response |
|
client.{{method.id}}(*args, **kwargs) do | response |
|
||||||
|
|
||||||
result = yield response
|
result = yield response
|
||||||
return result
|
return result
|
||||||
|
|
||||||
ensure
|
ensure
|
||||||
response.body_io?.try &. skip_to_end
|
response.body_io?.try &.skip_to_end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -85,7 +83,6 @@ module Invidious::ConnectionPool
|
|||||||
pool.release(http_client) if http_client && client_exists_in_pool
|
pool.release(http_client) if http_client && client_exists_in_pool
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class Error < Exception
|
class Error < Exception
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user