That would be it indeed. Opening a ftp connection for every request is expensive from a latency point of view so we reuse those for subsequent requests to returns faster and will mark them for closure after 2 minutes of inactivity with a vacuum cleaner process actually closing them something like every few minutes. Such strategy can’t work if the connection is killed after 20 seconds of inactivity or we’d need to reopen it if it was to be closed in between.
4 Likes