-
Notifications
You must be signed in to change notification settings - Fork 31
disable notification feature from UI #198
disable notification feature from UI #198
Conversation
@@ -13,4 +13,4 @@ | |||
* permissions and limitations under the License. | |||
*/ | |||
|
|||
export const POLL_INTERVAL = 1000 * 60 * 5; // in milliseconds (5 min) | |||
export const POLL_INTERVAL = 1000 * 60 * 0.5; // in milliseconds (5 min) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the comment should be 30 seconds instead of 5 min, and what does POLL_INTERVAL do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always forgot to revert that value, thx! We are using a fixed interval to poll background jobs for reporting. For develop purpose, I always change it to a small value.
@@ -620,7 +620,7 @@ export function ReportDefinitionDetails(props) { | |||
<EuiSpacer /> | |||
{triggerSection} | |||
<EuiSpacer /> | |||
<EuiTitle> | |||
{/* <EuiTitle> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this unused code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be added back once we plan to add notification. Do you want me to put a comment here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Issue #, if available:
Description of changes:
remove notification from following pages
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.