forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
22be532cbd
Previously a token could've expired in the middle of an object.PUT stream, leading to upload being interrupted. This is bad, because user doesn't always now what is the right values for the session token lifetime. More than that, setting it to a very high value will eventually blow up the session token database. In this commit we read the session token once and reuse it for the whole stream duration. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com> |
||
---|---|---|
.. | ||
v2 | ||
distributed.go | ||
local.go | ||
pool.go | ||
prm.go | ||
remote.go | ||
res.go | ||
service.go | ||
streamer.go | ||
validation.go |