snare 0.4.0

GitHub webhooks runner daemon
snare-0.4.0 is not a library.
Visit the last successful build: snare-3.5.1

snare is a GitHub webhooks daemon. Architecturally it is split in two:

  • The httpserver listens for incoming hooks, checks that they're valid, and adds them to a Queue.
  • The jobrunner pops elements from the Queue and runs them in parallel. These two components run as two different threads: the httpserver writes a solitary byte to an "event pipe" to wake up the jobrunner when the queue has new elements. We also wake up the jobrunner on SIGHUP and SIGCHLD.