diff options
author | Aravinda VK <avishwan@redhat.com> | 2016-10-26 15:51:17 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2016-12-02 00:53:49 -0800 |
commit | 8485cec47b9f6a60d3ca2c8804e7f37f7b94c64b (patch) | |
tree | 36686d466c26d9a2d701ae379d4842abda89c680 /extras | |
parent | f1ef6b0c1e5d6f0f7eb67e85b3837c0cf33642c9 (diff) |
eventsapi: Auto reload Webhooks data when modified
glustereventsd depends on reload signal to reload the
Webhooks configurations. But if reload signal missed, no
events will be sent to newly added Webhook.
Added auto reload based on webhooks file mtime. Before pushing
events to Webhooks, reloads webhooks configurations if previously
recorded mtime is different than current mtime.
> Reviewed-on: http://review.gluster.org/15731
> Reviewed-by: Prashanth Pai <ppai@redhat.com>
> Smoke: Gluster Build System <jenkins@build.gluster.org>
> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
BUG: 1399482
Change-Id: I83a41d6a52d8fa1d70e88294298f4a5c396d4158
Signed-off-by: Aravinda VK <avishwan@redhat.com>
(cherry picked from commit b7ebffbda9ba784ccfae6d1a90766d5310cdaa15)
Reviewed-on: http://review.gluster.org/15963
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions