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

fix: add help for slow scanning (#947) (CP: 12.4) #950

Merged
merged 2 commits into from
Dec 1, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix name for older branch
  • Loading branch information
caalador committed Nov 30, 2021
commit d7d14c54ab3fb9d340ac2404a867748ce4f77361
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public void contextInitialized(ServletContextEvent event) {
"Search for subclasses and classes with annotations took {} seconds",
(classScanning - start) / 1000);

if (ms > 10000 && appContext.getEnvironment()
if (classScanning > 10000 && appContext.getEnvironment()
.getProperty("vaadin.whitelisted-packages") == null) {
getLogger().info(
"Due to slow search it is recommended to use the whitelisted-packages feature to make scanning faster.\n\n"
Expand Down