Open stefanfoulis opened 6 years ago
This is OK, yes - it's one of the reasons Eliot does causal ordering rather than time-based ordering. It makes certain use cases (e.g. profiling) trickier, but it's an accurate representation of many situations.
This should probably be some sort of FAQ or documentation entry, so leaving issue open for that.
Thanks @itamarst that information helped me a lot in figuring out how to use eliot :-)
For the case where a web request triggers a task on a queue to later execute: is it ok if the eliot action originally in the request has "finished" already, but the async task running in another process still adds messages to the sub-action?
Pseudocode (Django-ish, Celery-ish):
Is this ok? Or should this be avoided?