Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion etl-api/src/db/pipelines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ use std::ops::DerefMut;
use thiserror::Error;

/// Maximum number of pipelines allowed per tenant.
pub const MAX_PIPELINES_PER_TENANT: i64 = 3;
///
/// For now, we keep the maximum to 1, this way, we give us a simpler surface area for breaking changes
/// to the `etl` schema in the source database since only one pipeline will use it.
pub const MAX_PIPELINES_PER_TENANT: i64 = 1;

pub struct Pipeline {
pub id: i64,
Expand Down
Loading