softlayer / swftp

An FTP and SFTP interface for OpenStack Object Storage (swift).
Other
57 stars 25 forks source link

New option 'session_timeout' #14

Closed sirkonst closed 10 years ago

sirkonst commented 10 years ago

This option can help keep system resources when ftp handles a lot of connections. Default value for FTPFactory.timeOut is 600 seconds and it is very much, I suggest default value set to 60 sec.

Also, I think, need to add same option for sftp and update man and tests :-)

PS: option 'connection_timeout' hard to understand, there is set connection timeout for swift, but not for ftp session. I was able to figured it only from source.

sudorandom commented 10 years ago

I added some config value descriptions in the README to help clarify: https://github.com/softlayer/swftp/commit/4bd616ec84168e607c7d4212c300128ae449fba1

sirkonst commented 10 years ago

Great!