]> cat aescling's git repositories - mastodon.git/commit
Move network calls out of transaction in ActivityPub handler (#8951)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 10 Oct 2018 22:50:18 +0000 (00:50 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Oct 2018 22:50:18 +0000 (00:50 +0200)
commit790d3bc6370f1baf0d00ccf89e81387204c65194
tree7dc95810d0e641afd7a6cc7fdab7273760457cb0
parentac7df62a0441b95ec04fd9111a9394795dd53ff2
Move network calls out of transaction in ActivityPub handler (#8951)

Mention and emoji code may perform network calls, but does not need
to do that inside the database transaction. This may improve availability
of database connections when using pgBouncer in transaction mode.
app/lib/activitypub/activity/create.rb