Skip to content

Commit

Permalink
Add streaming tail workers autogate
Browse files Browse the repository at this point in the history
  • Loading branch information
jasnell committed Oct 7, 2024
1 parent c01f16d commit e2f05a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/workerd/util/autogate.c++
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down
1 change: 1 addition & 0 deletions src/workerd/util/autogate.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
};

Expand Down

0 comments on commit e2f05a2

Please sign in to comment.