jerryshao commented on code in PR #9282: URL: https://github.com/apache/gravitino/pull/9282#discussion_r2587856945
########## catalogs/catalog-fileset/src/main/java/org/apache/gravitino/catalog/fileset/FilesetCatalogOperations.java: ########## @@ -137,6 +140,23 @@ public class FilesetCatalogOperations extends ManagedSchemaOperations @VisibleForTesting ScheduledThreadPoolExecutor scheduler; @VisibleForTesting Cache<FileSystemCacheKey, FileSystem> fileSystemCache; + private final ThreadPoolExecutor fileSystemExecutor = + new ThreadPoolExecutor( + Math.max(2, Runtime.getRuntime().availableProcessors() * 2), Review Comment: This will create too many threads for server if they're more than 32 cores. -- 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]
