summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2023-02-27 10:27:52 +0100
committerAlberto Sartori <alberto.sartori@huawei.com>2023-03-10 09:38:39 +0100
commit55ba09ec97d2449b39d7fcc38c346969168d899b (patch)
tree4c97affeaae2e5bb88a41be6d389b2502bae6e24 /etc
parent117a1dbf099d93dfe044971f90203a5d8d1975b4 (diff)
downloadjustbuild-55ba09ec97d2449b39d7fcc38c346969168d899b.tar.gz
execution service: implement WaitExecution and google::longrunning::Operations::GetOperation
For each action that is executed, an entry is added to a shared thread safe cache. Once the number of operations stored exceeds twice 2^n, where n is given by the option --log-operations-threshold, at most 2^n operations will be removed, in a FIFO scheme.
Diffstat (limited to 'etc')
-rw-r--r--etc/import.prebuilt/TARGETS.google_apis1
-rw-r--r--etc/import/TARGETS.google_apis1
2 files changed, 2 insertions, 0 deletions
diff --git a/etc/import.prebuilt/TARGETS.google_apis b/etc/import.prebuilt/TARGETS.google_apis
index 802e1027..66f66572 100644
--- a/etc/import.prebuilt/TARGETS.google_apis
+++ b/etc/import.prebuilt/TARGETS.google_apis
@@ -25,6 +25,7 @@
{ "type": ["@", "rules", "proto", "library"]
, "name": ["google_longrunning_operations_proto"]
, "srcs": ["google/longrunning/operations.proto"]
+ , "service": ["yes"]
, "deps":
[ "google_api_annotations_proto"
, "google_api_http_proto"
diff --git a/etc/import/TARGETS.google_apis b/etc/import/TARGETS.google_apis
index c8be1084..08881c79 100644
--- a/etc/import/TARGETS.google_apis
+++ b/etc/import/TARGETS.google_apis
@@ -29,6 +29,7 @@
, "google_longrunning_operations_proto":
{ "type": ["@", "rules", "proto", "library"]
, "name": ["google_longrunning_operations_proto"]
+ , "service": ["yes"]
, "srcs": ["google/longrunning/operations.proto"]
, "deps":
[ "google_api_annotations_proto"