Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add the functionality to automatically retrieve the latest highly available JobManager address #3392

Merged
merged 15 commits into from
Apr 18, 2024

Conversation

18216499322
Copy link
Contributor

@18216499322 18216499322 commented Apr 13, 2024

Add the functionality to automatically retrieve the latest highly available JobManager address

close #3085

@18216499322 18216499322 marked this pull request as draft April 13, 2024 10:52
@18216499322 18216499322 marked this pull request as ready for review April 13, 2024 10:56
@18216499322 18216499322 marked this pull request as draft April 16, 2024 02:27
@18216499322 18216499322 marked this pull request as ready for review April 16, 2024 07:33
@18216499322 18216499322 marked this pull request as draft April 17, 2024 03:13
@18216499322 18216499322 marked this pull request as ready for review April 17, 2024 03:18
@Zzm0809 Zzm0809 added the New Feature New feature label Apr 17, 2024
@Zzm0809 Zzm0809 added this to the 1.0.2 milestone Apr 17, 2024
Copy link
Contributor

@gaoyan1998 gaoyan1998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -152,7 +162,7 @@ public static boolean refreshJob(JobInfoDetail jobInfoDetail, boolean needSave)
Long finishTime = TimeUtil.localDateTimeToLong(jobInstance.getFinishTime());
long duration = Duration.between(jobInstance.getFinishTime(), LocalDateTime.now())
.toMinutes();
if (finishTime > 0 && duration < 1) {
if (finishTime > 0 && duration < 3) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe tt's not too long to change it to 3 minutes here.??? reconnect usually just tries again a few times.

@gaoyan1998 gaoyan1998 merged commit 29cbffa into DataLinkDC:dev Apr 18, 2024
13 checks passed
Zzm0809 pushed a commit to Zzm0809/dinky that referenced this pull request May 6, 2024
…highly available JobManager address (DataLinkDC#3392)

Co-authored-by: luoshangjie <luoshangjie@yfpharmacy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature
Projects
Archived in project
3 participants