Skip to content

Commit

Permalink
Stackdriver - Fixing wrong in-code documentation for maximum shutdown…
Browse files Browse the repository at this point in the history
… duration (#22)

Co-authored-by: Cijo Thomas <[email protected]>
  • Loading branch information
ivan-brko and cijothomas authored Jan 18, 2024
1 parent 3827119 commit 14e58a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion opentelemetry-stackdriver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ pub struct Builder {
}

impl Builder {
/// Set the number of concurrent requests to send to StackDriver.
/// Set the maximum shutdown duration to export all the remaining data.
///
/// If not set, defaults to 5 seconds.
pub fn maximum_shutdown_duration(mut self, duration: Duration) -> Self {
self.maximum_shutdown_duration = Some(duration);
self
Expand Down

0 comments on commit 14e58a4

Please sign in to comment.