Skip to content

Cocaine causing hangs on gif uploads #9362

@hugogameiro

Description

@hugogameiro

I have been running into a problem where gif uploads stop working when several Mastodon instances share the same host server.

After digging into this, I notice that adding 'loglevel' => 'warning' to /app/models/media_attachment.rb would solve the problem.

Then, I found the source of the problem: thoughtbot/cocaine#96 and tested this PR thoughtbot/cocaine#97 that solves the problem.

As currently Paperclip-av-transcoder still hardcodes Cocaine https://github.com/ruby-av/paperclip-av-transcoder/blob/master/lib/paperclip/paperclip_processors/transcoder.rb#L78 and is not using Terrapin, the Cocaine PR is the one that solved it. Although the same PR has been also pushed to thoughtbot/terrapin#5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions