Browse Source

Correct 'seessions' (sessions) (#220)

master
sam 8 years ago
committed by Neil
parent
commit
5b475751f1
  1. 2
      server/env.py

2
server/env.py

@ -108,7 +108,7 @@ class Env(lib_util.LoggedClass):
# We give the DB 250 files; allow ElectrumX 100 for itself # We give the DB 250 files; allow ElectrumX 100 for itself
value = max(0, min(env_value, nofile_limit - 350)) value = max(0, min(env_value, nofile_limit - 350))
if value < env_value: if value < env_value:
self.log_warning('lowered maximum seessions from {:,d} to {:,d} ' self.log_warning('lowered maximum sessions from {:,d} to {:,d} '
'because your open file limit is {:,d}' 'because your open file limit is {:,d}'
.format(env_value, value, nofile_limit)) .format(env_value, value, nofile_limit))
return value return value

Loading…
Cancel
Save