gorush/rpc
Bo-Yi Wu 2d2a8a0110
feat(worker): support graceful shutdown (#459)
* feat(worker): support graceful shutdown

notifications workers and queue have been sent to APNs/FCM before shutdown a push notification.

send buffered channel to signal.Notify to avoid blocking

see: golang/lint#175

fixed: https://github.com/appleboy/gorush/issues/441

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-02-04 13:27:27 +08:00
..
example chore: replace yarn with npm (#434) 2019-10-27 12:13:40 +08:00
proto Add missing GRPC data field (#412) 2019-05-21 14:10:32 +08:00
client_grpc_health.go Add grpc check example. (#306) 2017-11-14 00:18:48 -06:00
client_test.go Add grpc health check. (#304) 2017-11-12 08:44:33 -06:00
health.go Add grpc health check. (#304) 2017-11-12 08:44:33 -06:00
server.go feat(worker): support graceful shutdown (#459) 2020-02-04 13:27:27 +08:00
server_test.go Add grpc health check. (#304) 2017-11-12 08:44:33 -06:00