Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: publish message with 1h ttl (#396)
Messages were published with a TTL of 5 minutes, which means the engine buffers them for 5 minutes. The buffered message is then expected to correlate to a process instance's event later in the chaos experiment. However, in some cases, the chaos experiment takes longer than these 5 minutes. When the message is expired, the chaos experiment can no longer succeed even though it retries for an hour. For example, this occurred in the action: - Should be able to create a process instance and await the message correlation Changing the TTL of the published message fixes this problem by buffering the message for the same duration as the retry period.
- Loading branch information