Skip to content

Commit

Permalink
CP-49158: Event.next is deprecated: increase delays
Browse files Browse the repository at this point in the history
No feature flag, because this is a deprecated API.
Clients that wants the best performance should've used Event.from.

Signed-off-by: Edwin Török <[email protected]>
  • Loading branch information
edwintorok committed Dec 10, 2024
1 parent 388cbe7 commit ab75aea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocaml/xapi/xapi_globs.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,8 @@ let event_from_task_delay, event_from_task_entry =
~delay_between:Mtime.Span.(50 * ms)

let event_next_delay, event_next_entry =
make_batching "event_next" ~delay_before:Mtime.Span.zero
make_batching "event_next"
~delay_before:Mtime.Span.(200 * ms)
~delay_between:Mtime.Span.(50 * ms)

let xapi_globs_spec =
Expand Down

0 comments on commit ab75aea

Please sign in to comment.