Feature/MSG delayed consumption MSG模式增加延时消费功能#577
Closed
wooln wants to merge 4 commits intodtm-labs:mainfrom
Closed
Feature/MSG delayed consumption MSG模式增加延时消费功能#577wooln wants to merge 4 commits intodtm-labs:mainfrom
wooln wants to merge 4 commits intodtm-labs:mainfrom
Conversation
…iting Set NextCronTime only when it is nil or zero to preserve existing scheduled times and prevent unintended cron interval resets during transaction processing. 只有当没有提供NextCronTime时才初始化,否则使用提供的进行saveNew)
- Use NextCronTime from gRPC during prepare; can be used for MSG delayed consumption
- Add logic to allow delaying consumption by using a custom NextCronTime - In msg mode, return nil early when NextCronTime is set and after 3 seconds from current time
Contributor
Author
|
Without modifying the dtm server functionality, I can determine whether to delay execution based on the business effective time during the sub-transaction branch execution. However, this will result in additional useless calls. Refer to the C# unit test PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.