Skip to content

Fix 'disabled' auto-refresh option - #101

Merged
sylvinus merged 1 commit into
pricingassistant:masterfrom
benjisg:fix-DashboardRefreshSelector
Oct 3, 2015
Merged

Fix 'disabled' auto-refresh option#101
sylvinus merged 1 commit into
pricingassistant:masterfrom
benjisg:fix-DashboardRefreshSelector

Conversation

@benjisg

@benjisg benjisg commented Oct 3, 2015

Copy link
Copy Markdown
Contributor

Fixes #100 by refactoring setting the refresh timeouts and makes the 'disabled' option a -1 value. Allows us to detect it being different from any actual internal and disables the calls to the API. Decided a 2 second timeout between checks for the option being changed was probably sufficient for now. Thanks!

@sylvinus

sylvinus commented Oct 3, 2015

Copy link
Copy Markdown
Contributor

Hi Benji,

Good catch, thanks for the patch!

sylvinus added a commit that referenced this pull request Oct 3, 2015
@sylvinus
sylvinus merged commit b60ca28 into pricingassistant:master Oct 3, 2015
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