Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster manager_process_barrier_fd and drop message if BARRIER=1 found #15660

Merged
merged 3 commits into from
May 14, 2020

Commits on May 10, 2020

  1. Configuration menu
    Copy the full SHA
    147d8fc View commit details
    Browse the repository at this point in the history
  2. core: Update prototype of notify_message, tags list is read only

    Indicates that the tags list cannot be modified by notify_message function.
    Since the tags list is created only once for multiple call to
    notify_message functions.
    benjarobin committed May 10, 2020
    Configuration menu
    Copy the full SHA
    fcee275 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. core: Parse the tags list sooner, and use it for multiple function

     - Parse the tags list using strv_split_newlines() which remove any
       unnecessary empty string at the end of the strv.
     - Use this parsed list for manager_process_barrier_fd() and every call
       to manager_invoke_notify_message().
     - This also allow to simplify the manager_process_barrier_fd() function.
    benjarobin committed May 13, 2020
    Configuration menu
    Copy the full SHA
    5151b4c View commit details
    Browse the repository at this point in the history