Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2335

Allow multiple callbacks to be run when a Signal is received.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • Core
    • None

    Description

      As Sentry develops, more and more items possibly need to react to signals. To do things like reload config files without restarting the service, a signal (like SIGHUP) is ideal.  Currently Sentry only allows for one function to be called when a signal is received, but different parts of the system may need to react to that same signal.

      This is a small change to the SigUtils to allow for multiple handlers for a single signal.

      Attachments

        1. SENTRY-2335.02.patch
          4 kB
          Brian Towles
        2. SENTRY-2335.01.patch
          3 kB
          Brian Towles

        Issue Links

          Activity

            People

              btowles Brian Towles
              btowles Brian Towles
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: