forked from mirrors/akkoma
d34fe2840d
Use a custom tesla middleware instead of adapter helper function + custom redirect middleware. This will also fix "Client died before releasing the connection" messages when the request pool is overloaded. Since the checkout is now done after passing ConcurrentLimiter. This is technically less efficient, since the connection needs to be checked in/out every time the middleware is left or entered respectively. But I don't think the nanoseconds we might lose on redirects to the same host are worth the complexity. |
||
---|---|---|
.. | ||
activity | ||
bbs | ||
captcha | ||
chat | ||
config | ||
conversation | ||
docs | ||
ecto_type | ||
emails | ||
emoji | ||
gopher | ||
gun | ||
helpers | ||
http | ||
instances | ||
mfa | ||
migration_helper | ||
object | ||
plugs | ||
reverse_proxy | ||
telemetry | ||
tesla/middleware | ||
tests | ||
upload | ||
uploaders | ||
user | ||
web | ||
workers | ||
activity.ex | ||
activity_expiration.ex | ||
application.ex | ||
application_requirements.ex | ||
bookmark.ex | ||
chat.ex | ||
clippy.ex | ||
config.ex | ||
constants.ex | ||
conversation.ex | ||
counter_cache.ex | ||
delivery.ex | ||
earmark_renderer.ex | ||
ecto_enums.ex | ||
emoji-data.txt | ||
emoji.ex | ||
filter.ex | ||
following_relationship.ex | ||
formatter.ex | ||
healthcheck.ex | ||
html.ex | ||
instances.ex | ||
job_queue_monitor.ex | ||
jwt.ex | ||
keys.ex | ||
list.ex | ||
maintenance.ex | ||
maps.ex | ||
marker.ex | ||
mfa.ex | ||
mime.ex | ||
moderation_log.ex | ||
notification.ex | ||
object.ex | ||
object_tombstone.ex | ||
otp_version.ex | ||
pagination.ex | ||
password_reset_token.ex | ||
registration.ex | ||
release_tasks.ex | ||
repo.ex | ||
repo_streamer.ex | ||
report_note.ex | ||
scheduled_activity.ex | ||
signature.ex | ||
stats.ex | ||
thread_mute.ex | ||
upload.ex | ||
user.ex | ||
user_invite_token.ex | ||
user_relationship.ex | ||
utils.ex |