Skip to content

Commit f419d2f

Browse files
Remove duplicate binding in router module
1 parent 8afbe05 commit f419d2f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

presto-router/src/main/java/com/facebook/presto/router/RouterModule.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ protected void setup(Binder binder)
106106
binder.bind(RouterPluginManager.class).in(Scopes.SINGLETON);
107107
configBinder(binder).bindConfig(PluginManagerConfig.class);
108108

109-
configBinder(binder).bindConfig(PluginManagerConfig.class);
110-
111109
bindHttpClient(binder, QUERY_PREDICTOR, ForQueryCpuPredictor.class, IDLE_TIMEOUT_SECOND, PREDICTOR_REQUEST_TIMEOUT_SECOND);
112110
bindHttpClient(binder, QUERY_PREDICTOR, ForQueryMemoryPredictor.class, IDLE_TIMEOUT_SECOND, PREDICTOR_REQUEST_TIMEOUT_SECOND);
113111

0 commit comments

Comments
 (0)