Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UI] Make setTimeout work with large timeout values #838

Merged
merged 1 commit into from Jun 4, 2019

Conversation

helfi92
Copy link
Contributor

@helfi92 helfi92 commented Jun 4, 2019

The delay (in milliseconds) for setTimeout is a 32 bit signed quantity, which limits it to 2^31-1 ms (2147483647 ms) or 24.855 days. Renewal timers are sometimes 1000 years so we should make sure we don't go past the max value.

@helfi92 helfi92 requested a review from a team as a code owner June 4, 2019 22:47
@helfi92 helfi92 self-assigned this Jun 4, 2019
@helfi92 helfi92 merged commit 21fd0ef into taskcluster:master Jun 4, 2019
wryonik pushed a commit to wryonik/taskcluster that referenced this pull request Jun 19, 2019
helfi92 pushed a commit that referenced this pull request Jul 11, 2019
* Add utility to generate/verify taskcluster tokens

* Add tests to jwt utlity

* Add config keys for jwt

* Rename verifyJwt to verifyJwtAuth0

* Adjust CLIENT_ID_PATTERN

* Modify strategies to use Taskcluster token

* Update Node.js to v10.16.0

* yarn generate

* Add requested changes

* Lint

* Correct comment description of endpoint

* Make setTimeout work with large timeout values (#838)

* Rename accessToken to taskclusterToken

* Upgrade js-yaml

* Hotfix: web-server check for user

* [UI] Add isSecretDirty logic (#833)

* added isSecretDirty logic

* Update index.jsx

* resolved issue

* minor issues resolved

* Fix pagination issue in DataTable (#848)

* Auth and Role forms UX (#844)

* client form done

* role form done

* minor issues resolved

* snackbar confirmation for client complete

* snackbar confirmation for role form complete

* Return early for new form before showing snackbar

* added dialog action for roles form

* minor issues resolved

* minor issues resolved

* removed handleDialogActionError from viewRole

* Add missing pieces

* Remove focusOnSecondary - it's now set by default

* Remove dialogError for when the role form is new

A new role won't have the delete dialog option so there's no need to
pass dialogError to the component

* Rename handleActionDialogError for consistency

* Rename handleActionDialogClose for consistency
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.

None yet

1 participant