mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 07:05:46 +03:00
proton: Add documentation URL for file descriptor limit warning.
This commit is contained in:
parent
86c2c1e2a1
commit
f5618038c8
2
proton
2
proton
@ -1487,7 +1487,7 @@ class Session:
|
||||
# check for low fd limit
|
||||
_soft_limit, hard_limit = resource.getrlimit(resource.RLIMIT_NOFILE)
|
||||
if hard_limit < 524288:
|
||||
self.log_file.write(f"WARNING: Low file descriptor limit: {hard_limit}\n")
|
||||
self.log_file.write(f"WARNING: Low file descriptor limit: {hard_limit} (see https://github.com/ValveSoftware/Proton/wiki/File-Descriptors)\n")
|
||||
|
||||
self.log_file.write("======================\n")
|
||||
self.log_file.flush()
|
||||
|
Loading…
Reference in New Issue
Block a user