On Sep 11 2017, PA Nilsson <[email protected]> wrote:
> Hi,
>
> We have written a custom backend based on the s3c.py backend, basically
> only the auth-portion that has changed.
> However to minimize the auth-overhead, we would like to remember an
> auth-token.
>
> Any pointers to where that token would be stored the best?
>
> If I understand correctly the "Backend" object only lives while making a
> transfer, so that can not be used to store the token.
Backend objects live much longer, they're kept in a pool. So this should
be a good place. Take a look at backends/gs.py for how the tokens are
stored there.
Best,
-Nikolaus
--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.