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

remove @Ignores. Add warning for misconfigured pretoucher #1152

Merged
merged 1 commit into from
Aug 30, 2022

Conversation

JerryShea
Copy link
Contributor

@JerryShea JerryShea commented Aug 30, 2022

Make pretoucher system property configs non-static

Add reference to issues.

…ed pretoucher. Make pretoucher system property configs non-static
pretouchTimeProvider = () -> queue.time().currentTimeMillis() + (EARLY_ACQUIRE_NEXT_CYCLE ? PRETOUCHER_PREROLL_TIME_MS : 0);
if (PRETOUCHER_PREROLL_TIME_DEFAULT_MS != PRETOUCHER_PREROLL_TIME_DEFAULT_MS && !earlyAcquireNextCycle)
Jvm.warn().on(getClass(), "SingleChronicleQueueExcerpts.pretoucherPrerollTimeMs has been set but not earlyAcquireNextCycle");
pretouchTimeProvider = () -> queue.time().currentTimeMillis() + (earlyAcquireNextCycle ? PRETOUCHER_PREROLL_TIME_MS : 0);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this was wrongly checking EARLY_ACQUIRE_NEXT_CYCLE

@JerryShea JerryShea changed the title remove @Ignores. Add reference to issues. Add warning for misconfigur… remove @Ignores. Add warning for misconfigured pretoucher Aug 30, 2022
@JerryShea JerryShea requested a review from alamar August 30, 2022 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants