Skip to content

Commit f532080

Browse files
authored
Merge pull request #626 from internxt/feat/reduce-keepalive-interval
[_]: feat/reduce-keepalive-interval
2 parents c3d44cb + de997af commit f532080

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ tail -f /root/.internxt-cli/logs/internxt-webdav-combined.log &
9393
# exits on failure so that Docker's restart policy (e.g. --restart unless-stopped)
9494
# can recover the container with a clean login.
9595
set +e
96-
KEEPALIVE_INTERVAL=1800
96+
KEEPALIVE_INTERVAL=30
9797

9898
keepaliveEnabled=$(echo "$WEBDAV_KEEPALIVE_ENABLED" | tr '[:upper:]' '[:lower:]')
9999
if [ -z "$WEBDAV_KEEPALIVE_ENABLED" ] || [ "$keepaliveEnabled" = "true" ] || [ "$keepaliveEnabled" = "1" ] || [ "$keepaliveEnabled" = "yes" ] || [ "$keepaliveEnabled" = "y" ]; then

src/commands/whoami.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export default class Whoami extends Command {
1717
static readonly enableJsonFlag = true;
1818

1919
public run = async () => {
20+
await this.parse(Whoami);
2021
const userCredentials = await ConfigService.instance.readUser();
2122
if (!userCredentials) {
2223
const message = 'You are not logged in.';

0 commit comments

Comments
 (0)