Prevent an exception caused by system time change
Bug #1707553 reported by
Ji.Wei
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.service |
Confirmed
|
Medium
|
Ji.Wei |
Bug Description
Here use time.time() to get the current time:
https:/
https:/
If the system time changes, it will cause an exception.
we can use monotonic instead of it, just like:
https:/
Changed in oslo.service: | |
assignee: | nobody → Ji.Wei (jiwei) |
Changed in oslo.service: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
To post a comment you must log in.