Skip to content

Commit

Permalink
Keep connection alive at HybridFile.forEachChildrenFile()
Browse files Browse the repository at this point in the history
Addresses #4081
  • Loading branch information
TranceLove committed Feb 29, 2024
1 parent 7136ff3 commit 853eac1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ public void forEachChildrenFile(Context context, boolean isRoot, OnFileFound onF
switch (mode) {
case SFTP:
SshClientUtils.execute(
new SFtpClientTemplate<Boolean>(getPath(), true) {
new SFtpClientTemplate<Boolean>(getPath(), false) {
@Override
public Boolean execute(@NonNull SFTPClient client) {
try {
Expand Down

0 comments on commit 853eac1

Please sign in to comment.