# Linux Agent Update Interval

**URL:** <https://discuss.hashicorp.com/t/linux-agent-update-interval/70392>\
**Category:** Vault\
**Tags:** vault\
**Created:** [October 3, 2024, 1:51pm UTC](https://discuss.hashicorp.com/t/linux-agent-update-interval/70392 "2024-10-03T13:51:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pretorius.riaan](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/pretorius.riaan/32/38789_2.png) [@pretorius.riaan](https://discuss.hashicorp.com/u/pretorius.riaan)\
**Post date:** [October 3, 2024, 1:51pm UTC](https://discuss.hashicorp.com/t/linux-agent-update-interval/70392/1 "2024-10-03T13:51:24Z")

</div>

I was wondering about the update interval with the vault agent on linux.

I am new to vault so I am not fully versed with the inner workings.

What i am trying to achieve is a 30 second interval check for changes. I tried uploading the secrets with a TTl of default\_ttl=“30s” max\_ttl=“30m” to force a check-in. i tried the shell ENV vairable VAULT\_AGENT\_CACHE\_TTL=“30s” and i tried:

```auto
cache {
  use_auto_auth_token = true
  cache_file = "/vault/.vault-token"
  cache_ttl = "30s" # Check every 30 seconds for updates
}

```

But none of those options make the agent check in faster- still seems it checks in randomly between 1 min and 1 hr.

What am i doing wrong?
