|
@ -189,6 +189,7 @@ class TransferBase(object): |
|
|
socket.setdefaulttimeout(timeout) |
|
|
socket.setdefaulttimeout(timeout) |
|
|
last_rows = [] |
|
|
last_rows = [] |
|
|
db_instance = obj() |
|
|
db_instance = obj() |
|
|
|
|
|
ServerPool.get_instance() |
|
|
import resource |
|
|
import resource |
|
|
logging.info('current process RLIMIT_NOFILE resource: soft %d hard %d' % resource.getrlimit(resource.RLIMIT_NOFILE)) |
|
|
logging.info('current process RLIMIT_NOFILE resource: soft %d hard %d' % resource.getrlimit(resource.RLIMIT_NOFILE)) |
|
|
try: |
|
|
try: |
|
|