core-lightning/plugins/examples
Christian Decker db3707f957 pytest: Highlight the re-entrancy issue for cln-plugin events
This was pointed out by Daywalker [1]: we are synchronously processing
events from `lightningd` which means that if processing one of the
hooks or requests was slow or delayed, we would not get notifications,
hooks, or RPC requests, massively impacting the flexbility.

This highlights the issue with a failing test (it times out), and in
the next commit we will isolate event processing into their own task,
so to free the event loop from having to wait for an eventual
response.

[1] https://community.corelightning.org/c/developers/hold-invoice-plugin#comment_wrapper_16754493
2023-04-13 18:13:28 -07:00
..
cln-plugin-reentrant.rs pytest: Highlight the re-entrancy issue for cln-plugin events 2023-04-13 18:13:28 -07:00
cln-plugin-startup.rs pytest: Add test for optional options in cln-plugin 2022-11-03 11:28:22 +01:00