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

Fixes #15809: Cannot update editor techniques at webapp startup if the request to get techniques timeout (5 seconds) #2491

Conversation

VinceMacBuche
Copy link
Member

…e request to get techniques timeout (5 seconds)
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_15809/cannot_update_editor_techniques_at_webapp_startup_if_the_request_to_get_techniques_timeout_5_seconds branch from 2f08a45 to 64c63e0 Compare October 1, 2019 07:42
@@ -193,15 +193,19 @@ class TechniqueWriter (
}

// Write and commit all techniques files
def writeAll(technique : Technique, methods: Map[BundleName, GenericMethod], modId : ModificationId, committer : EventActor) : Result[Seq[String]] = {
def writeAll(technique : Technique, methods: Map[BundleName, GenericMethod], modId : ModificationId, committer : EventActor, launchLibUpdate : Boolean) : Result[Seq[String]] = {
Copy link
Member

Choose a reason for hiding this comment

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

boolean option are hard to understand (we should never have one I believe). I think we should have two methods here: writeAll and writeAllAndUpdateTechLib and just call the correct one in either place.

…e request to get techniques timeout (5 seconds)
@VinceMacBuche VinceMacBuche force-pushed the bug_15809/cannot_update_editor_techniques_at_webapp_startup_if_the_request_to_get_techniques_timeout_5_seconds branch from 64c63e0 to 542bdc7 Compare October 1, 2019 14:00
@VinceMacBuche
Copy link
Member Author

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder/pull/2491
-- Your faithful QA
Kant merge: "Live your life as though your every act were to become a universal law."
(https://ci.normation.com/jenkins/job/merge-accepted-pr/15524/console)

@fanf
Copy link
Member

fanf commented Oct 3, 2019

OK, merging this PR

@fanf fanf merged commit 542bdc7 into Normation:branches/rudder/5.0 Oct 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants