Skip to content

DRILL-6007: Use default refresh timeout (10 seconds) if graceful shut…#1062

Closed
arina-ielchiieva wants to merge 1 commit intoapache:masterfrom
arina-ielchiieva:DRILL-6007
Closed

DRILL-6007: Use default refresh timeout (10 seconds) if graceful shut…#1062
arina-ielchiieva wants to merge 1 commit intoapache:masterfrom
arina-ielchiieva:DRILL-6007

Conversation

@arina-ielchiieva
Copy link
Member

…down timeout is set to 0.

@arina-ielchiieva arina-ielchiieva force-pushed the DRILL-6007 branch 2 times, most recently from a8b6ae6 to a4e1b8c Compare December 7, 2017 13:50
Copy link
Contributor

@parthchandra parthchandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 (Fixes the issue of continuously refreshing).
Code could do with some improvements. (Can be done later)

<script charset="utf-8">
var refreshTime = 2000;
var refreshTime = 10000;
var refresh = getRefreshTime();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is confusing isn't it? The function does not return a value and yet the return value () is stored in a variable that is not used.
Luckily it's not used anywhere.

@arina-ielchiieva
Copy link
Member Author

Agree, I have created Jira for js part improvement where I have indicated some other things that should be improved (https://issues.apache.org/jira/browse/DRILL-6022).

@asfgit asfgit closed this in aa6666e Dec 9, 2017
ilooner pushed a commit to ilooner/drill that referenced this pull request Jan 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants