File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/com/google/cloud/logging/logback Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 155155 <dependency >
156156 <groupId >org.threeten</groupId >
157157 <artifactId >threetenbp</artifactId >
158+ <scope >test</scope >
158159 </dependency >
159160 </dependencies >
160161
Original file line number Diff line number Diff line change 1919import com .google .api .gax .batching .BatchingSettings ;
2020import com .google .api .gax .batching .FlowControlSettings ;
2121import com .google .api .gax .batching .FlowController .LimitExceededBehavior ;
22- import org . threeten . bp .Duration ;
22+ import java . time .Duration ;
2323
2424/**
2525 * This class is used only to provide batch settings configuration in logback.xml since {@link
@@ -69,7 +69,7 @@ public BatchingSettings build() {
6969 settings .setRequestByteThreshold (requestByteThreshold );
7070 }
7171 if (delayThreshold != null ) {
72- settings .setDelayThreshold (Duration .ofMillis (delayThreshold ));
72+ settings .setDelayThresholdDuration (Duration .ofMillis (delayThreshold ));
7373 }
7474 if (maxOutstandingElementCount != null
7575 || maxOutstandingRequestBytes != null
You can’t perform that action at this time.
0 commit comments