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

Apply some minor clean-up while investigating slow build speeds #963

Merged
merged 2 commits into from
Jan 22, 2019
Merged

Apply some minor clean-up while investigating slow build speeds #963

merged 2 commits into from
Jan 22, 2019

Conversation

wincent
Copy link
Contributor

@wincent wincent commented Jan 21, 2019

As described in the commit messages, this PR just applies a little clean-up noted while doing some initial investigation for IFI-406.

This variable holds a list of tasks so it should have a plural name.

Noticed while doing some exploration for the related ticket:

https://issues.liferay.com/browse/IFI-406
I notice that the `runSequence` callback is firing pretty much
immediately even before all the tasks have finished running, which means
that somewhere in the task graph something is not correctly signalling
its completion.

I haven't found the culprit yet, but in looking for it I noticed these
places where we can clean things up by returning a promise instead of
passing around a callback, which makes things more readable.
@wincent wincent requested a review from julien January 21, 2019 17:53
@julien
Copy link
Contributor

julien commented Jan 22, 2019

Just started reviewing :)

:octocat: Sent from GH.

@julien julien merged commit 679dba7 into liferay:2.x-develop Jan 22, 2019
@wincent wincent deleted the build-speed branch January 24, 2019 14:27
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.

2 participants