Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Udell <judell@turbot.com>
  • Loading branch information
johnsmyth and judell committed May 18, 2023
1 parent 09dfc06 commit 61f952f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/reference/env-vars/steampipe_cache_max_size_mb.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In this example, there are 25 total connections, so each connection's share is 4
By default, Steampipe does not limit the size of the query cache.


This is a server setting -- when connecting to a remote database, setting `STEAMPIPE_CACHE_MAX_SIZE_MB` on the client will have no effect.
This is a server setting. When connecting to a remote database, setting `STEAMPIPE_CACHE_MAX_SIZE_MB` on the client will have no effect.

`STEAMPIPE_CACHE_MAX_SIZE_MB` only works with plugins compiled with [Steampipe Plugin SDK](https://github.com/turbot/steampipe-plugin-sdk) version 4.0.0 and later.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/env-vars/steampipe_cache_max_ttl.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The maximum amount of time to cache query results, in seconds. The default is `3

Caching must be enabled for this setting to take effect.

This is a server setting, not a client setting -- when connecting to a Steampipe database, you are subject to the `STEAMPIPE_CACHE_MAX_TTL` set on the server. You can set the [STEAMPIPE_CACHE_TTL](reference/env-vars/steampipe_cache_ttl) (or `cache_ttl` in a [workspace](/docs/reference/config-files/workspace)) from your client to *reduce* the TTL for your session but not to expand it -- The net effect for your session will be the lower of the two values.
This is a server setting, not a client setting. When connecting to a Steampipe database, you are subject to the `STEAMPIPE_CACHE_MAX_TTL` set on the server. You can set the [STEAMPIPE_CACHE_TTL](reference/env-vars/steampipe_cache_ttl) (or `cache_ttl` in a [workspace](/docs/reference/config-files/workspace)) from your client to *reduce* the TTL for your session but not to expand it. The net effect for your session will be the lower of the two values.


## Usage
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/env-vars/steampipe_cache_ttl.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The amount of time to cache query results for this client, in seconds. The defau

Caching must be enabled for this setting to take effect.

This is a client setting -- when connecting to a Steampipe database, you are also subject to the [STEAMPIPE_CACHE_MAX_TTL](reference/env-vars/steampipe_cache_max_ttl) set on the server. You can set the `STEAMPIPE_CACHE_TTL` (or `cache_ttl` in a [workspace](/docs/reference/config-files/workspace)) from your client to *reduce* the TTL for your session but not to expand it -- The net effect for your session will be the lower of the two values.
This is a client setting. When connecting to a Steampipe database, you are also subject to the [STEAMPIPE_CACHE_MAX_TTL](reference/env-vars/steampipe_cache_max_ttl) set on the server. You can set the `STEAMPIPE_CACHE_TTL` (or `cache_ttl` in a [workspace](/docs/reference/config-files/workspace)) from your client to *reduce* the TTL for your session but not to expand it. The net effect for your session will be the lower of the two values.


## Usage
Expand Down

0 comments on commit 61f952f

Please sign in to comment.