This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch feature/scheduled_event_on_event_thread in repository https://gitbox.apache.org/repos/asf/celix.git
commit 97a92c4218eb536e392ca72a421b44f3d3fac4ef Author: Pepijn Noltes <[email protected]> AuthorDate: Mon Jul 3 20:09:08 2023 +0200 Mention Network IO in scheduled event documentation --- documents/scheduled_events .md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documents/scheduled_events .md b/documents/scheduled_events .md index 8d8fac32..988c7340 100644 --- a/documents/scheduled_events .md +++ b/documents/scheduled_events .md @@ -28,7 +28,8 @@ Scheduled events will be called repeatedly using a provided interval or once if only an initial delay is provided. For the interval time, a monotonic clock is used. The event callback should be relatively fast, and the scheduled event interval should be relatively high; otherwise, -the framework event queue will be blocked, and the framework will not function properly. +the framework event queue will be blocked, and the framework will not function properly. +Network IO should not be done in the event callback, but instead, a separate thread should be used for this. ## Scheduling an Event
