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

delay_serialization: implement feature #277

Merged
merged 1 commit into from
Jul 5, 2023

Commits on Jul 5, 2023

  1. delay_serialization: implement feature

    Add the `delay_serialization` option, allowing users to delay expensive
    serialization until a more convenient time, such as after an HTTP
    request has completed. In multi-threaded mode, it causes serialization
    to happen inside the sender thread.
    
    Also, support the `sender_queue_size` in `single_thread` mode, so that
    it can benefit from the new `delay_serialization` option. Messages are
    now queued (possibly unserialized) until `sender_queue_size` is reached
    or `#flush` is called. It may be set to `Float::INFINITY`, so that
    messages are indefinitely queued until an explicit `#flush`.
    
    Fix DataDog#271
    
    Co-Authored-By: Blake Williams <[email protected]>
    pudiva and BlakeWilliams committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    2f65360 View commit details
    Browse the repository at this point in the history