diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-04-12 16:40:35 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-04-13 06:19:56 +0000 |
commit | d98b39ae51b94b5442718c668c4a5353e79e3c0c (patch) | |
tree | 84aabb3b150aea2ca11cf0b1228a770a42ace1bf /v3po/impl | |
parent | 85e8751ceb79ed8ed8eadfe70c9568b7741449f9 (diff) |
HONEYCOMB-9: Disable polling thread for former pipeline
The poll causes deadlocks on vppJapi in combination
with Initializers or any other read/write operations
Change-Id: I623642e42780b5174956f7859c0192c925900c19
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/impl')
-rw-r--r-- | v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java index 8ed83d53a..5dcf586fa 100644 --- a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java +++ b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java @@ -25,7 +25,6 @@ import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Timer; -import java.util.TimerTask; import javax.annotation.Nonnull; import javax.annotation.concurrent.NotThreadSafe; import org.opendaylight.controller.md.sal.binding.api.DataBroker; @@ -171,12 +170,12 @@ public class V3poProvider implements BindingAwareProvider, AutoCloseable, Broker Timer timer = new Timer(); // fire task after 1 second and then repeat each 10 seconds - timer.scheduleAtFixedRate(new TimerTask() { - @Override - public void run() { - vppPollOperData.updateOperational(); - } - }, 1000, 10000); +// timer.scheduleAtFixedRate(new TimerTask() { +// @Override +// public void run() { +// vppPollOperData.updateOperational(); +// } +// }, 1000, 10000); } @Override |