You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Tibor Meller (Jira)" <ji...@apache.org> on 2019/10/11 12:47:00 UTC

[jira] [Created] (METRON-2290) [UI] Delaying first auto polling request on app start

Tibor Meller created METRON-2290:
------------------------------------

             Summary: [UI] Delaying first auto polling request on app start
                 Key: METRON-2290
                 URL: https://issues.apache.org/jira/browse/METRON-2290
             Project: Metron
          Issue Type: Bug
            Reporter: Tibor Meller
            Assignee: Tibor Meller


State of auto polling is persisted in Alerts UI. Next time the user lunch the UI the auto polling feature will automatically turn on if it was left that state at last visit.

Unfortunately there is a race condition between the restoration of
 - persisted auto polling state,
 - persisted page size and
 - default timer range filter.

To fix this in the simplest possible way I delayed the start of the auto polling if it's automatically starting on app initialization.
 With this the application able to restore the persisted page size and set the default time range properly before the auto polling start using these as her dependencies.

While I was investigate this issue I realized that the restoration of page size it self also broken so I fixed that as well, with a few line of code change.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)