Skip to content

Commit

Permalink
Add watchdog interceptor (#3346)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihanzhen authored Jun 5, 2018
1 parent 0de6267 commit 0e9f78c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ class SpannerInterceptorProvider implements GrpcInterceptorProvider {
private static final List<ClientInterceptor> clientInterceptors =
ImmutableList.of(
new SpannerErrorInterceptor(),
new LoggingInterceptor(Logger.getLogger(GrpcSpannerRpc.class.getName()), Level.FINER));
new LoggingInterceptor(Logger.getLogger(GrpcSpannerRpc.class.getName()), Level.FINER),
WatchdogInterceptor.newDefaultWatchdogInterceptor());

@Override
public List<ClientInterceptor> getInterceptors() {
Expand Down

0 comments on commit 0e9f78c

Please sign in to comment.