Skip to content

Wrap all calls to responsys with a Timeout::timeout(X) {} #24

@evantahler

Description

@evantahler

I've noticed that responsys' API often becomes un-responsive when you have many simultaneous connections. For example, maybe you have 40 resque workers trying to update responsys with a new column of data about your users... The client doesn't see a 500, error, or timeout. It just... hangs. I've seen processes last over a day. This can "clog" up your resque queues (or your unicorns) and cause bad things to happen.

In all cases, I would prefer that an exception be truly thrown so it can be handled in the normal way (error to users, resque-retry, etc).

I believe that this is actually an error with savon, but we have the opportunity to provide safety to users of the gem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions