Skip to content

Added F/W Update Lock File#554

Merged
ExtremeFiretop merged 2 commits intoExtremeFiretop:devfrom
Martinski4GitHub:dev
Mar 19, 2026
Merged

Added F/W Update Lock File#554
ExtremeFiretop merged 2 commits intoExtremeFiretop:devfrom
Martinski4GitHub:dev

Conversation

@Martinski4GitHub
Copy link
Copy Markdown
Collaborator

Added a mutually exclusive, non-blocking FLOCK mechanism in MerlinAU so that whenever AMTM initiates script updates or MerlinAU starts an F/W Update, each one can check the FLOCK mutex to make sure only one of them can perform its intended operation without "stepping on each other's toes" and avoid any possible corruption of a script update.

Added a mutually exclusive, non-blocking FLOCK mechanism in MerlinAU so that whenever AMTM initiates script updates or MerlinAU starts an F/W Update, each one can check the FLOCK mutex to make sure only one of them can perform its intended operation without "stepping on each other's toes" and avoid any possible corruption of a script update.
Just some code improvements and fine-tuning WRT the FLock mechanism.
@ExtremeFiretop ExtremeFiretop merged commit 2a9b66d into ExtremeFiretop:dev Mar 19, 2026
1 check passed
@ExtremeFiretop
Copy link
Copy Markdown
Owner

I like it @Martinski4GitHub ! Sorry for the delay, yesterday was a day of working on the girlfriends car and I was extremely tired by the time we were done.

But this was a nice call you made. Considering this was discussed in the last PR I'll simply merge in.

I think this is a good guard-rail to have no matter how low the risk is.
I like to think of it as a "do not disturb" sign for firmware updates. ;)

Merged the changes into develop, so it's ready for the next release we make :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants