commit | e2d9a15385532ffbb5a04b84fcfdac458403f74d | [log] [tgz] |
---|---|---|
author | William Hesse <whesse@google.com> | Wed Apr 21 09:14:18 2021 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org> | Wed Apr 21 09:14:18 2021 +0000 |
tree | b91a8557b9175fc37f7bcdf86381369c57593694 | |
parent | 88a351f3d2e675e203ce6452bc39f0e06e2a037c [diff] |
[infra] Decrease number of changed test results sent to results feed The cloud functions processing changed test results are timing out when sent 100 changes to process at once, reduce chunk size to 50. Fixes:https://github.com/dart-lang/dart_ci/issues/46 Change-Id: I2046475e586e6801a4dab5fa6e1686568c0ba17c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195992 Auto-Submit: William Hesse <whesse@google.com> Commit-Queue: Alexander Thomas <athom@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
diff --git a/tools/bots/post_results_to_pubsub.dart b/tools/bots/post_results_to_pubsub.dart index 1134188..774dec9 100644 --- a/tools/bots/post_results_to_pubsub.dart +++ b/tools/bots/post_results_to_pubsub.dart
@@ -28,7 +28,7 @@ exit(exitCode); } -const resultsPerMessage = 100; +const resultsPerMessage = 50; Uri _postUrl(String project) => Uri.https( 'pubsub.googleapis.com', 'v1/projects/$project/topics/results:publish');