Skip to content

Commit

Permalink
Fixing wrong in-code documentation for in-code documentation for maxi…
Browse files Browse the repository at this point in the history
…mum shutdown duration in stackdriver export
  • Loading branch information
ivan-brko committed Jan 5, 2024
1 parent a3e0d18 commit 5951fd2
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 5951fd2

Please sign in to comment.