mirror of
https://github.com/xcat2/confluent.git
synced 2026-08-03 16:07:00 +00:00
1031bad407
Every getter and setter logged out on the way out, which nulled the cached client and made the session cache inert on exactly the paths it was meant to serve: a single nodeconfig walk of ntp costs two full logins for the read and one per server for the write, each of them a fresh TLS handshake plus, on firmware that omits st2, two extra page fetches to scrape the tokens. Leave the session in place and let wc() dispose of it once it expires. This also stops one coroutine's logout from invalidating the session another coroutine just fetched and is about to post with.