Skip to content

Revert #648 #655

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

Merged
merged 1 commit into from
May 4, 2017
Merged

Revert #648 #655

merged 1 commit into from
May 4, 2017

Conversation

natario1
Copy link
Contributor

@natario1 natario1 commented May 4, 2017

Reverting #648 because we lately discovered that the issue is much deeper and this was wrong.

@codecov
Copy link

codecov bot commented May 4, 2017

Codecov Report

Merging #655 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #655   +/-   ##
=========================================
  Coverage     52.85%   52.85%           
  Complexity     1676     1676           
=========================================
  Files           131      131           
  Lines         10148    10148           
  Branches       1408     1408           
=========================================
  Hits           5364     5364           
  Misses         4341     4341           
  Partials        443      443
Impacted Files Coverage Δ Complexity Δ
Parse/src/main/java/com/parse/ParseRequest.java 82.95% <ø> (ø) 18 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4e4ffad...638c74f. Read the comment docs.

* This executor should be used for any network operation, in all subclasses.
* Chaining network operations with tasks consumed by Task.BACKGROUND_EXECUTOR , which is smaller,
* will cause performance bottlenecks and possibly lock the whole SDK.
*/
protected static final ExecutorService NETWORK_EXECUTOR = newThreadPoolExecutor(
Copy link
Contributor

Choose a reason for hiding this comment

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

should also revert to package private?

Copy link
Contributor

Choose a reason for hiding this comment

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

It was never changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In the future I think it will make sense to move all custom executors (network executor, db executor) to the ParseExecutors class that exists already... but let’s fix this bolts issue first

@rogerhu rogerhu merged commit 405e21a into parse-community:master May 4, 2017
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.

3 participants