gocache icon indicating copy to clipboard operation
gocache copied to clipboard

How to create a key that never expires

Open OneSeven opened this issue 3 years ago • 0 comments

Please describe the a concise description and fill out the details below. It will help others efficiently understand your request and get to an answer instead of repeated back and forth. Providing a minimal, complete and verifiable example will further increase your chances that someone can help.

Steps for Reproduction

  1. Set up the following "xxxx" value in the config.yaml configuration file
  2. Launch binary with the following arguments
  3. Step Two
  4. Step Three

Expected behavior: Create a key that does not expire Actual behavior: The TTL type only supports time.Duration and cannot pass in negative values Platforms:

Include browser, operating system and respective versions

Versions: 3.1.1 Which versions are you running?

OneSeven avatar Jul 22 '22 08:07 OneSeven