Skip to content

Make response file name prefix configurable#594

Open
larry-cdn77 wants to merge 1 commit into
ContentSquare:masterfrom
larry-cdn77:tmp-file-prefix
Open

Make response file name prefix configurable#594
larry-cdn77 wants to merge 1 commit into
ContentSquare:masterfrom
larry-cdn77:tmp-file-prefix

Conversation

@larry-cdn77

@larry-cdn77 larry-cdn77 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Stale files can get large and need cleaning up, then it helps to have a descriptive name (rather than just 'tmp')

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe)

Maybe the only kink is having to specify the prefix for each configured cache; it could be a global option (so that the cache YAML section does not break compatibilty) but then the ability to distinguish caches by prefixes could actually find some uses?

Checklist

  • Linter passes correctly
  • Add tests which fail without the change (if possible)
  • All tests passing
  • Extended the README / documentation, if necessary

Linter passed on all of the modified code

Also hand tested by watching /tmp using inotifywait, with and without tmp_file_prefix configured

Documentation is machine-generated, I thought it was quite good as it came out

Does this introduce a breaking change?

  • Yes
  • No

Default prefix changes from "tmp" to "chproxyTmp" – suspect if mentioned in release notes this need not be seen as an incompatibility?

Further comments

Related to #285

Stale files can get large and need cleaning up, then it helps to have a descriptive name (rather than just 'tmp')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant