We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7908454 commit e929c59Copy full SHA for e929c59
1 file changed
src/services/storage/sftp/main.ts
@@ -15,6 +15,7 @@ const {
15
16
export class SFTPStorage extends StorageClass {
17
private client: SftpClient;
18
+ private keepaliveInterval: number = 5_000; // 5 seconds
19
20
constructor() {
21
super();
@@ -30,6 +31,8 @@ export class SFTPStorage extends StorageClass {
30
31
host: hostIp,
32
port: SFTP_PORT ? +SFTP_PORT : 22,
33
username: SFTP_USER,
34
+ debug: (msg: string) => logger.debug(msg),
35
+ keepaliveInterval: this.keepaliveInterval
36
};
37
38
// Authentication: prefer SSH key over password
0 commit comments