Skip to content

aioble/security: Only schedule save when needed. - #462

Merged
dpgeorge merged 1 commit into
micropython:masterfrom
andrewleech:duplicate_save
Aug 6, 2026
Merged

aioble/security: Only schedule save when needed.#462
dpgeorge merged 1 commit into
micropython:masterfrom
andrewleech:duplicate_save

Conversation

@andrewleech

Copy link
Copy Markdown
Contributor

Was getting occasional: RuntimeError: schedule queue full if there was a flood of BLE activity.

This also consolidates the disk write for back-to-back security operations which are common during pairing.

@dpgeorge

dpgeorge commented Aug 4, 2026

Copy link
Copy Markdown
Member

Can probably remove the if not _modified: bit from _save_secrets().

Was getting occasional: RuntimeError: schedule queue full

Signed-off-by: Damien George <damien@micropython.org>
@dpgeorge
dpgeorge merged commit 7068440 into micropython:master Aug 6, 2026
5 checks passed
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.

3 participants