gitlabhq/gitlabhq — pull request #8343 by bladealslayer (2014-11-18 11:09:08+00:00)
Title: Make web hooks retry on non-200 status codes from remote server.

Web hooks are previously handled in a fire-and-forget manner. If the remote server returns a non-2XX status code, the hook is never retried.

With this change, an exception is raised on non-2XX status code and this the hook is scheduled for retry.

Fixes #5768.