We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8e4ede commit 7a14af1Copy full SHA for 7a14af1
jupyter_server/serverapp.py
@@ -2053,7 +2053,7 @@ def init_resources(self):
2053
)
2054
return
2055
2056
- old_soft, old_hard = resource.getrlimit(resource.RLIMIT_NOFILE) # noqa
+ old_soft, old_hard = resource.getrlimit(resource.RLIMIT_NOFILE)
2057
soft = self.min_open_files_limit
2058
hard = old_hard
2059
if old_soft < soft:
@@ -2064,7 +2064,7 @@ def init_resources(self):
2064
old_soft, soft, old_hard, hard
2065
2066
2067
- resource.setrlimit(resource.RLIMIT_NOFILE, (soft, hard)) # noqa
+ resource.setrlimit(resource.RLIMIT_NOFILE, (soft, hard))
2068
2069
def _get_urlparts(self, path=None, include_token=False):
2070
"""Constructs a urllib named tuple, ParseResult,
0 commit comments