You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ro...@apache.org on 2020/12/29 13:46:35 UTC

[buildstream] branch willsalmon/reproduce_grpc created (now 0a2fc18)

This is an automated email from the ASF dual-hosted git repository.

root pushed a change to branch willsalmon/reproduce_grpc
in repository https://gitbox.apache.org/repos/asf/buildstream.git.


      at 0a2fc18  silly way to get grpc errors

This branch includes the following new commits:

     new 0a2fc18  silly way to get grpc errors

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[buildstream] 01/01: silly way to get grpc errors

Posted by ro...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch willsalmon/reproduce_grpc
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 0a2fc1816b51441c86eedd2091a3e6f4d85647fe
Author: William Salmon <wi...@codethink.co.uk>
AuthorDate: Thu May 28 13:27:39 2020 +0100

    silly way to get grpc errors
---
 src/buildstream/_artifactcache.py | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/buildstream/_artifactcache.py b/src/buildstream/_artifactcache.py
index c1e87b6..d75beb0 100644
--- a/src/buildstream/_artifactcache.py
+++ b/src/buildstream/_artifactcache.py
@@ -233,6 +233,11 @@ class ArtifactCache(BaseCache):
             remote.init()
             element.status("Pushing data from artifact {} -> {}".format(display_key, remote))
 
+            for II in range(1000):
+                self._push_artifact_blobs(artifact, remote)
+                element.info("{}: Pushed data from artifact {} -> {}".format(II, display_key, remote))
+
+
             if self._push_artifact_blobs(artifact, remote):
                 element.info("Pushed data from artifact {} -> {}".format(display_key, remote))
             else: