mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
Remove 750ms timeout on owners path validation
Summary: Ref T13164. See PHI748. Path validation has a 750ms timeout which blames to rP5038ab850c, in 2011. Production path validation is sometimes taking more than 750ms, particularly on the initial page load where we may validate many paths simultaneously. I have no idea why we have this timeout, and it isn't consistent with how we perform other AJAX requests. Just remove it. Test Plan: - Reproduced issue in production, saw all validation calls failing at 750ms. Actual underlying calls succeed, they just take more than 750ms to resolve. - Loaded path validator locally, got green checkmark. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13164 Differential Revision: https://secure.phabricator.com/D19575
This commit is contained in:
parent
92a29f72c1
commit
9a15129b40
2 changed files with 10 additions and 12 deletions
|
@ -393,7 +393,7 @@ return array(
|
||||||
'rsrc/js/application/files/behavior-launch-icon-composer.js' => '48086888',
|
'rsrc/js/application/files/behavior-launch-icon-composer.js' => '48086888',
|
||||||
'rsrc/js/application/harbormaster/behavior-harbormaster-log.js' => '549459b8',
|
'rsrc/js/application/harbormaster/behavior-harbormaster-log.js' => '549459b8',
|
||||||
'rsrc/js/application/herald/HeraldRuleEditor.js' => 'dca75c0e',
|
'rsrc/js/application/herald/HeraldRuleEditor.js' => 'dca75c0e',
|
||||||
'rsrc/js/application/herald/PathTypeahead.js' => '662e9cea',
|
'rsrc/js/application/herald/PathTypeahead.js' => '6d8c7912',
|
||||||
'rsrc/js/application/herald/herald-rule-editor.js' => '7ebaeed3',
|
'rsrc/js/application/herald/herald-rule-editor.js' => '7ebaeed3',
|
||||||
'rsrc/js/application/maniphest/behavior-batch-selector.js' => 'ad54037e',
|
'rsrc/js/application/maniphest/behavior-batch-selector.js' => 'ad54037e',
|
||||||
'rsrc/js/application/maniphest/behavior-line-chart.js' => 'e4232876',
|
'rsrc/js/application/maniphest/behavior-line-chart.js' => 'e4232876',
|
||||||
|
@ -739,7 +739,7 @@ return array(
|
||||||
'owners-path-editor' => 'c96502cf',
|
'owners-path-editor' => 'c96502cf',
|
||||||
'owners-path-editor-css' => '9c136c29',
|
'owners-path-editor-css' => '9c136c29',
|
||||||
'paste-css' => '9fcc9773',
|
'paste-css' => '9fcc9773',
|
||||||
'path-typeahead' => '662e9cea',
|
'path-typeahead' => '6d8c7912',
|
||||||
'people-picture-menu-item-css' => 'a06f7f34',
|
'people-picture-menu-item-css' => 'a06f7f34',
|
||||||
'people-profile-css' => '4df76faf',
|
'people-profile-css' => '4df76faf',
|
||||||
'phabricator-action-list-view-css' => '0bcd9a45',
|
'phabricator-action-list-view-css' => '0bcd9a45',
|
||||||
|
@ -1353,14 +1353,6 @@ return array(
|
||||||
'javelin-workflow',
|
'javelin-workflow',
|
||||||
'javelin-dom',
|
'javelin-dom',
|
||||||
),
|
),
|
||||||
'662e9cea' => array(
|
|
||||||
'javelin-install',
|
|
||||||
'javelin-typeahead',
|
|
||||||
'javelin-dom',
|
|
||||||
'javelin-request',
|
|
||||||
'javelin-typeahead-ondemand-source',
|
|
||||||
'javelin-util',
|
|
||||||
),
|
|
||||||
66888767 => array(
|
66888767 => array(
|
||||||
'javelin-behavior',
|
'javelin-behavior',
|
||||||
'javelin-stratcom',
|
'javelin-stratcom',
|
||||||
|
@ -1436,6 +1428,14 @@ return array(
|
||||||
'javelin-typeahead',
|
'javelin-typeahead',
|
||||||
'javelin-uri',
|
'javelin-uri',
|
||||||
),
|
),
|
||||||
|
'6d8c7912' => array(
|
||||||
|
'javelin-install',
|
||||||
|
'javelin-typeahead',
|
||||||
|
'javelin-dom',
|
||||||
|
'javelin-request',
|
||||||
|
'javelin-typeahead-ondemand-source',
|
||||||
|
'javelin-util',
|
||||||
|
),
|
||||||
'70baed2f' => array(
|
'70baed2f' => array(
|
||||||
'javelin-install',
|
'javelin-install',
|
||||||
'javelin-dom',
|
'javelin-dom',
|
||||||
|
|
|
@ -208,8 +208,6 @@ JX.install('PathTypeahead', {
|
||||||
|
|
||||||
this._validationInflight = validation_request;
|
this._validationInflight = validation_request;
|
||||||
JX.DOM.setContent(error_display, JX.$H(this._icons.test));
|
JX.DOM.setContent(error_display, JX.$H(this._icons.test));
|
||||||
|
|
||||||
validation_request.setTimeout(750);
|
|
||||||
validation_request.send();
|
validation_request.send();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue