Skip to content

Commit 48f9884

Browse files
cdelgehierracciari
authored andcommitted
Add handler storage.content.drained and storage.content.update
1 parent d9a789b commit 48f9884

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

templates/oio-event-handlers.conf.erb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ pipeline =<% if @quarantine %> quarantine<% end %><% if @replication %> replicat
1313
pipeline = noop
1414
<% end -%>
1515

16+
[handler:storage.content.update]
17+
<% if @replication -%>
18+
pipeline = replication %>
19+
<% else -%>
20+
pipeline = noop
21+
<% end -%>
22+
23+
[handler:storage.content.drained]
24+
<% if @replication -%>
25+
pipeline = replication %>
26+
<% else -%>
27+
pipeline = noop
28+
<% end -%>
29+
1630
[handler:storage.content.broken]
1731
<% if @rebuild or !webhooks_handlers.fetch("storage.content.broken", []).empty? -%>
1832
pipeline = content_rebuild <%= webhooks_handlers.fetch("storage.content.broken", []).join(" ") %>

0 commit comments

Comments
 (0)