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

Added retry of sensor connection for performance reports on failure. (backport #1633) #1635

Merged
merged 6 commits into from
Jul 19, 2021

Commits on Jul 19, 2021

  1. Added retry of sensor connection for performance reports on failure

    In manage.c in function get_osp_performance_string (..):
      The installation of the connection to the sensor via
      osp_connect_with_data (..) and the access to the
      performance data via osp_get_performance_ext (..) are
      now retried several times on failure.
    
    (cherry picked from commit ede0f95)
    jhelmold authored and mergify-bot committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    60aeb1e View commit details
    Browse the repository at this point in the history
  2. CHANGELOG entry: retry of sensor connection for performance reports

    (cherry picked from commit e4f77af)
    jhelmold authored and mergify-bot committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    d65c9ad View commit details
    Browse the repository at this point in the history
  3. Improved the structure of the programming in manage.c

    in manage.c, in function get_osp_performance_string(..):
      Moved the declaration of the variable "return_value"
      to the top of the function.
    
    (cherry picked from commit 50ee82b)
    jhelmold authored and mergify-bot committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    c07eec1 View commit details
    Browse the repository at this point in the history
  4. Amended the setting of the value "connection_retry".

    In manage.c, in function get_osp_performance_string (..):
      Replaced the assignment of value "connection_retry =
      SCANNER_CONNECTION_RETRY_DEFAULT;" by
      "connection_retry = get_scanner_connection_retry();".
    
    (cherry picked from commit 3fa7218)
    jhelmold authored and mergify-bot committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    a54b278 View commit details
    Browse the repository at this point in the history
  5. Solved a formatting issue.

    In manage.c in function get_osp_performance_string (..):
      Amended the formatting of a while statement and the calls
      of get_scanner_connection_retry ().
    
    (cherry picked from commit 2d13c54)
    jhelmold authored and mergify-bot committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    5069435 View commit details
    Browse the repository at this point in the history
  6. Amended the logic of the connection retries.

    In manage.c, in function get_osp_performance_string (..):
      Rebuild the logic of the connection retries for
      osp_connect_with_data (..) and osp_get_performance_ext (..)
      slightly.
    
    (cherry picked from commit 0d06084)
    jhelmold authored and mergify-bot committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    251c2ff View commit details
    Browse the repository at this point in the history