Skip to content

Mention when to create own scheduler in binding development docs #2536

@rkoshak

Description

@rkoshak

Based on a tricky problem analyzed here: https://community.openhab.org/t/oh-stops-properly-processing-changes/165147/88 we discovered that the Chromecast and Exec bindings were both using the default scheduler provided by BasicThingHandler to run their execution methods.

This should only be done in cases where that execution function will always run fast. But in the case of these two bindings that is not guaranteed and the result was the Chromecast binding was causing a significant delay when Exec binding commands were processed.

A few sentences should be added to the developer docs to make sure developers know of this limitation.

I can take a cut at that but I'm not a developer so I might get the wording wrong or put it in the wrong place. I'll need help to make sure it's worded correctly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions