Skip to content

Commit

Permalink
Change pause feature from unstable to deprecated (#2288)
Browse files Browse the repository at this point in the history
* Change pause feature from unstable to deprecated

* fmt
  • Loading branch information
aviramha authored Mar 4, 2024
1 parent 7af7cb3 commit aa9e077
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/+change-pause-from-unstable.changed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Change pause feature from unstable to deprecated
6 changes: 5 additions & 1 deletion mirrord/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,11 @@ pub struct LayerConfig {
/// Note: It requires agent configuration to be set to privileged when running with the
/// ephemeral agent option. Defaults to `false`.
/// Note2: Pause + ephemeral might not work on Docker runtimes.
#[config(env = "MIRRORD_PAUSE", default = false, unstable)]
#[config(
env = "MIRRORD_PAUSE",
default = false,
deprecated = "pause is deprecated in favor of copy + scaledown teams feature. Read the blogpost here https://metalbear.co/blog/on-pausing-containers-how-we-built-and-why-we-deprecated-our-container-pause-feature/"
)]
pub pause: bool,

/// ## connect_tcp {#root-connect_tpc}
Expand Down

0 comments on commit aa9e077

Please sign in to comment.