python-consul icon indicating copy to clipboard operation
python-consul copied to clipboard

Session should allow units for duration values.

Open sgargan opened this issue 9 years ago • 0 comments

The consul api for session creation supports units for its duration values which it passes these through to https://golang.org/pkg/time/#ParseDuration to parse. (see here).

Currently however these are being restricted by the library to an integer number of seconds. The library should probably just pass these duration values through and let the api handle them rather than mandating ranges and units.

sgargan avatar May 31 '16 16:05 sgargan