From 1926bbc7181e133ce2ea433d3c93093d18f114dd Mon Sep 17 00:00:00 2001 From: Hoan Nguyen Date: Thu, 28 Nov 2024 14:41:10 +0700 Subject: [PATCH] Remove deprecated api --- .../mattermost/notification/MattermostNotificationStart.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mattermost-connector-notification/src/com/axonivy/connector/mattermost/notification/MattermostNotificationStart.java b/mattermost-connector-notification/src/com/axonivy/connector/mattermost/notification/MattermostNotificationStart.java index 27fe1be..4aab9a2 100644 --- a/mattermost-connector-notification/src/com/axonivy/connector/mattermost/notification/MattermostNotificationStart.java +++ b/mattermost-connector-notification/src/com/axonivy/connector/mattermost/notification/MattermostNotificationStart.java @@ -18,7 +18,7 @@ public MattermostNotificationStart() { @Override public void poll() { - getEventBeanRuntime().setPollTimeInterval(-1); // no poll; we only use start/stop hooks + getEventBeanRuntime().poll().disable(); // no poll; we only use start/stop hooks } @Override