caishunfeng commented on a change in pull request #7672:
URL: https://github.com/apache/dolphinscheduler/pull/7672#discussion_r775799555
##########
File path:
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
##########
@@ -1102,9 +1104,13 @@ private String recursionProcessDefinitionName(long
projectCode, String processDe
putMsg(result, Status.PROCESS_DEFINE_NOT_EXIST, codes);
return result;
}
+ HashMap<Long, Project> userProjects = new
HashMap(Constants.DEFAULT_HASH_MAP_SIZE);
Review comment:
It's better to set the map size by db query result.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]