Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(405)

Unified Diff: pkg/barback/lib/src/transform_node.dart

Issue 107303004: Don't limit transformer parallelism in barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/barback/lib/src/pool.dart ('k') | pkg/barback/test/package_graph/many_parallel_transformers_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/lib/src/transform_node.dart
diff --git a/pkg/barback/lib/src/transform_node.dart b/pkg/barback/lib/src/transform_node.dart
index 2a996914bc5670512abcdd86e9b44195c8510673..76b29bdffd5d21f62de8b8c7d6ab63bb8a678210 100644
--- a/pkg/barback/lib/src/transform_node.dart
+++ b/pkg/barback/lib/src/transform_node.dart
@@ -128,9 +128,7 @@ class TransformNode {
_isDirty = false;
- return phase.cascade.graph.transformPool
- .withResource(() => transformer.apply(transform))
- .catchError((error, stack) {
+ return transformer.apply(transform).catchError((error, stack) {
// If the transform became dirty while processing, ignore any errors from
// it.
if (_isDirty) return;
« no previous file with comments | « pkg/barback/lib/src/pool.dart ('k') | pkg/barback/test/package_graph/many_parallel_transformers_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698