{"push_id":2924204374,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"cb9f6213dc1b0334c18802b65164fe6a4f2c79fc","before":"a40858f16281fe7a224019dc39847b4094ff218d","commits":[{"sha":"4790344fbe785a7b6bc052e877c75caeb2bf5d19","author":{"name":"Joachim Nilsson","email":"583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com"},"message":"Minor, refactor\n\nSigned-off-by: Joachim Nilsson <troglobit@gmail.com>","distinct":true,"url":"https://api.github.com/repos/troglobit/finit/commits/4790344fbe785a7b6bc052e877c75caeb2bf5d19"},{"sha":"f33ed869e41b66442b5cef8d40c1c2fa5b9159bf","author":{"name":"Joachim Nilsson","email":"583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com"},"message":"Minor, remove unused/malplaced declaration\n\nSigned-off-by: Joachim Nilsson <troglobit@gmail.com>","distinct":true,"url":"https://api.github.com/repos/troglobit/finit/commits/f33ed869e41b66442b5cef8d40c1c2fa5b9159bf"},{"sha":"cb9f6213dc1b0334c18802b65164fe6a4f2c79fc","author":{"name":"Joachim Nilsson","email":"583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com"},"message":"Instead of deleting svc_t, mark it for cleanup by garbage collector\n\nWhen a process, that has been sent SIGTERM by us, takes a full 3 sec to\nterminate, the event loop may have both the SIGCHLD event (where we do\nthe svc_del()) and the 3 sec timeout event to send SIGKILL in its event\ncache.\n\nWhen we call svc_del() it releases the svc_t memory, which can then be\ndereferenced by the SIGKILL timer callback and we're doomed.\n\nThere are two fixes to this; 1) the event loop, that uses epoll_wait(),\ncan set maxevents=1 (instead of today's 10).  The kernel will then drop\nthe SIGKILL timer event before it's delivered to the userspace process.\n2) we can postpone deleting the svc_t to a \"later stage\" when all events\nin the event cache have been processed.\n\nThis patch implements (2).  A later patch will use uev_init1(ctx, 1) to\nensure the event cache handles only one event at a time.\n\nSigned-off-by: Joachim Nilsson <troglobit@gmail.com>","distinct":true,"url":"https://api.github.com/repos/troglobit/finit/commits/cb9f6213dc1b0334c18802b65164fe6a4f2c79fc"}]}
{"actor":{"display_login":"troglobit"}}