Skip to content

Commit

Permalink
Add the TQL2-only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklohmann committed Dec 5, 2024
1 parent 9aab18b commit ef0a694
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contrib/tenzir-plugins
5 changes: 2 additions & 3 deletions libtenzir/src/version.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ auto tenzir_features(const record& cfg) -> std::vector<std::string> {
// renamed, e.g., `package_add` was renamed to `package::add`.
"modules",
};
// The experimental TQL2-only mode is enabled.
const auto disabled = false;
if (get_or(cfg, "tenzir.tql2", disabled)) {
if (auto fallback = false; get_or(cfg, "tenzir.tql2", fallback)) {
// The experimental TQL2-only mode is enabled.
result.emplace_back("tql2_only");
}
return result;
Expand Down
2 changes: 1 addition & 1 deletion nix/tenzir/plugins/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tenzir-plugins",
"url": "git@github.com:tenzir/tenzir-plugins",
"ref": "main",
"rev": "ad39ae43a2f22a990ca5ec8650cc2ef3bcae8280",
"rev": "2d62dcd42c25522612ccc02549941c61ebd975ab",
"submodules": true,
"shallow": true,
"allRefs": true
Expand Down
2 changes: 1 addition & 1 deletion tenzir.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tenzir:
connection-retry-delay: 3s

# Always use TQL2 for pipelines.
tql2: false
#tql2: false

# The file system path used for persistent state.
# Defaults to one of the following paths, selecting the first that is
Expand Down

0 comments on commit ef0a694

Please sign in to comment.