Skip to content

Commit

Permalink
Merge pull request #2454 from Bravo555/fix/2451/log-upload-metadata-d…
Browse files Browse the repository at this point in the history
…uplicates

Stop duplicate messages being sent by `tedge-log-plugin` and `tedge-configuration-plugin` on file reload
  • Loading branch information
Bravo555 authored Nov 20, 2023
2 parents a030447 + 351e8b8 commit e2c667b
Show file tree
Hide file tree
Showing 6 changed files with 294 additions and 158 deletions.
163 changes: 71 additions & 92 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ mqtt_channel = { path = "crates/common/mqtt_channel" }
mqtt_tests = { path = "crates/tests/mqtt_tests" }
nanoid = "0.4"
nix = "0.26"
notify = { version = "5.0", default-features = false }
notify = { version = "6.1.1", default-features = false }
notify-debouncer-full = { version = "0.3.1", default-features = false }
once_cell = "1.8"
pad = "0.1"
path-clean = "0.1"
Expand Down
3 changes: 2 additions & 1 deletion crates/common/tedge_utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ repository = { workspace = true }
# No features on by default
default = []
logging = []
fs-notify = ["strum_macros", "notify"]
fs-notify = ["strum_macros", "notify", "notify-debouncer-full"]

[dependencies]
anyhow = "1.0.71"
futures = { workspace = true }
mqtt_channel = { workspace = true }
nix = { workspace = true }
notify = { workspace = true, optional = true }
notify-debouncer-full = { workspace = true, optional = true }
strum_macros = { workspace = true, optional = true }
tempfile = { workspace = true }
thiserror = { workspace = true }
Expand Down
Loading

1 comment on commit e2c667b

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
376 0 3 376 100 59m10.453999999s

Please sign in to comment.