From e2f05a21df3ecda1490afafae5ad53be5156c5ed Mon Sep 17 00:00:00 2001 From: James M Snell Date: Fri, 4 Oct 2024 14:56:28 -0700 Subject: [PATCH] Add streaming tail workers autogate --- src/workerd/util/autogate.c++ | 2 ++ src/workerd/util/autogate.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/workerd/util/autogate.c++ b/src/workerd/util/autogate.c++ index 79376ebbf1b..c5264a9fa03 100644 --- a/src/workerd/util/autogate.c++ +++ b/src/workerd/util/autogate.c++ @@ -17,6 +17,8 @@ kj::StringPtr KJ_STRINGIFY(AutogateKey key) { switch (key) { case AutogateKey::TEST_WORKERD: return "test-workerd"_kj; + case AutogateKey::STREAMING_TAIL_WORKERS: + return "streaming-tail-workers"_kj; case AutogateKey::NumOfKeys: KJ_FAIL_ASSERT("NumOfKeys should not be used in getName"); } diff --git a/src/workerd/util/autogate.h b/src/workerd/util/autogate.h index fe934116c10..a97be15628c 100644 --- a/src/workerd/util/autogate.h +++ b/src/workerd/util/autogate.h @@ -14,6 +14,7 @@ namespace workerd::util { // Workerd-specific list of autogate keys (can also be used in internal repo). enum class AutogateKey { TEST_WORKERD, + STREAMING_TAIL_WORKERS, NumOfKeys // Reserved for iteration. };