-
Notifications
You must be signed in to change notification settings - Fork 73
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
Fixes #15809: Cannot update editor techniques at webapp startup if the request to get techniques timeout (5 seconds) #2491
Conversation
…e request to get techniques timeout (5 seconds)
Commit modified |
2f08a45
to
64c63e0
Compare
@@ -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]] = { |
There was a problem hiding this comment.
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)
64c63e0
to
542bdc7
Compare
Commit modified |
This PR is not mergeable to upper versions. |
OK, merging this PR |
https://issues.rudder.io/issues/15809