diff --git a/azfilesfuse.py b/azfilesfuse.py index c3a3e2a..1b32a75 100644 --- a/azfilesfuse.py +++ b/azfilesfuse.py @@ -29,9 +29,10 @@ from azure.common import (AzureConflictHttpError, AzureHttpError, from azure.storage.file import models from dateutil import parser from fuse import FUSE, FuseOSError, LoggingMixIn, Operations, fuse_get_context +import multiprocessing from requests import Session -executor = concurrent.futures.ThreadPoolExecutor(4) +executor = concurrent.futures.ThreadPoolExecutor(multiprocessing.cpu_count()) #import ptvsd #ptvsd.enable_attach(secret='my_secret')