Skip to content

Commit

Permalink
fixup! Expose maxMethodsCount to config
Browse files Browse the repository at this point in the history
  • Loading branch information
kojandy committed Aug 22, 2023
1 parent 79a8b38 commit d75c57c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ public static void premain(String args, Instrumentation inst) {

Scheduler scheduler = new Scheduler(config);
if (!config.isAsyncCodeBaseScanMode()) {
boolean isScanSuccessful = scheduler.scanCodeBase();
boolean scanSuccessful = scheduler.scanCodeBase();

if (!isScanSuccessful) {
if (!scanSuccessful) {
log.warning("[scavenger] scavenger is disabled");
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ public void publishCodeBaseIfNeeded() {
if (!isCodeBasePublished && codeBasePublisherState.isDueTime() && dynamicConfig != null) {
try {
if (this.codeBasePublication == null) {
boolean isScanSuccessful = scanCodeBase();
boolean scanSuccessful = scanCodeBase();

if (!isScanSuccessful) {
if (!scanSuccessful) {
return;
}
}
Expand Down

0 comments on commit d75c57c

Please sign in to comment.