-
Notifications
You must be signed in to change notification settings - Fork 472
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
Add a config value for the DAG cutoff #143
Conversation
Signed-off-by: Joe Farro <joef@uber.com>
Signed-off-by: Joe Farro <joef@uber.com>
Codecov Report
@@ Coverage Diff @@
## master #143 +/- ##
==========================================
+ Coverage 92.72% 93.04% +0.31%
==========================================
Files 82 85 +3
Lines 1829 1854 +25
Branches 353 359 +6
==========================================
+ Hits 1696 1725 +29
+ Misses 122 119 -3
+ Partials 11 10 -1
Continue to review full report at Codecov.
|
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
export default 100; |
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.
why is it better to have one constant per file rather than list them all in one file?
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.
That's a valid point. I'll make the change.
Signed-off-by: Joe Farro <joef@uber.com>
…fig-for-dag-max Add a config value for the DAG cutoff Signed-off-by: vvvprabhakar <vvvprabhakar@gmail.com>
Fixes #130 by adding
dependencies.dagMaxNumServices
UI config property.Also adds deprecations for config properties.
TLDR; I moved a config property but it's backwards compatible.
Seemed to make sense to group dependencies UI config values in a
dependencies
top-level property rather than having two top-level properties for it. So, I addeddeprecations
which is an Array of old/new config property names. ThegetConfig()
function moves old settings to the new property name unless there is a conflict. The first time this happens there is a warning issued to the console.