27 Aug
2019
27 Aug
'19
7:23 a.m.
On 27/08/2019 18:34, JH wrote:
It may perhaps help to use expires_from_now(x) to set an expiration and then call expires_at() to read the absolute expiration time that this set, and compare it with what you had calculated.
Or conversely to call expires_at(x) and then read the relative time with expires_from_now() to see if that is as expected.
The expires_at(x) works at the first call, to workaround, I did exactly as you suggested to do the rest of calls using expires_from_now() for the time being, I do want to know why the second call of expires_at had that kind of problem, will do further debug.
That's not quite what I said; I was just suggesting things that could be interesting to log for diagnostic purposes.