File tree 2 files changed +3
-2
lines changed
src/main/java/com/google/cloud/logging/logback
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 155
155
<dependency >
156
156
<groupId >org.threeten</groupId >
157
157
<artifactId >threetenbp</artifactId >
158
+ <scope >test</scope >
158
159
</dependency >
159
160
</dependencies >
160
161
Original file line number Diff line number Diff line change 19
19
import com .google .api .gax .batching .BatchingSettings ;
20
20
import com .google .api .gax .batching .FlowControlSettings ;
21
21
import com .google .api .gax .batching .FlowController .LimitExceededBehavior ;
22
- import org . threeten . bp .Duration ;
22
+ import java . time .Duration ;
23
23
24
24
/**
25
25
* This class is used only to provide batch settings configuration in logback.xml since {@link
@@ -69,7 +69,7 @@ public BatchingSettings build() {
69
69
settings .setRequestByteThreshold (requestByteThreshold );
70
70
}
71
71
if (delayThreshold != null ) {
72
- settings .setDelayThreshold (Duration .ofMillis (delayThreshold ));
72
+ settings .setDelayThresholdDuration (Duration .ofMillis (delayThreshold ));
73
73
}
74
74
if (maxOutstandingElementCount != null
75
75
|| maxOutstandingRequestBytes != null
You can’t perform that action at this time.
0 commit comments