log RLIMIT_NOFILE
let http_simple the same as http_post when server_decode
This commit is contained in:
parent
3d4356e8b4
commit
1221a1f3f6
3 changed files with 9 additions and 34 deletions
|
@ -189,6 +189,8 @@ class TransferBase(object):
|
|||
socket.setdefaulttimeout(timeout)
|
||||
last_rows = []
|
||||
db_instance = obj()
|
||||
import resource
|
||||
logging.info('current process RLIMIT_NOFILE resource: soft %d hard %d' % resource.getrlimit(resource.RLIMIT_NOFILE))
|
||||
try:
|
||||
while True:
|
||||
load_config()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue