diff options
| author | Daniil Cherednik <[email protected]> | 2024-03-22 10:49:11 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-03-22 10:49:11 +0100 |
| commit | 431b71bad02da68c09bb39a8de5d5cd8da59e0d5 (patch) | |
| tree | 6b140b7be36aef7cf8f2a31f91a8c02265b78340 /contrib/python/ipython/py2/IPython/utils/openpy.py | |
| parent | a79b3827a401dee7bb30f50bf4ee89a41e4e3dd1 (diff) | |
Fix update token interval calculation. (#3064)
We should chouse min value from expiresIn and RefreshPeriod_, not max one
Also reduce server returned interval by 2 to prevent race at expiring time.
Diffstat (limited to 'contrib/python/ipython/py2/IPython/utils/openpy.py')
0 files changed, 0 insertions, 0 deletions
