diff options
author | Aravinda VK <avishwan@redhat.com> | 2016-10-26 15:51:17 +0530 |
---|---|---|
committer | Aravinda VK <avishwan@redhat.com> | 2016-11-17 03:10:25 -0800 |
commit | b7ebffbda9ba784ccfae6d1a90766d5310cdaa15 (patch) | |
tree | a7557066d5676d7e4f3df54ad3e33a4512a29cd8 /tools | |
parent | 46e5466850311ee69e6ae9a11c2bba2aabadd5de (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.
BUG: 1388862
Change-Id: I83a41d6a52d8fa1d70e88294298f4a5c396d4158
Signed-off-by: Aravinda VK <avishwan@redhat.com>
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>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions