Remove monotonic usage

The monotonic package was needed for monotonic time operations when
running under Python runtimes older than 3.3. Since we now only support
versions higher than this, this third party package requirement can now
be removed.

Change-Id: I0e5bf6090ed85db2659b50096122a9abda9dde6a
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-05-04 17:17:01 -05:00
parent e9acec2377
commit b29f99d67d
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
1 changed files with 3 additions and 6 deletions

View File

@ -19,16 +19,13 @@ import inspect
import multiprocessing
import sys
import threading
from time import monotonic
import traceback
try:
from monotonic import monotonic as now # noqa
except ImportError:
import time
now = time.monotonic
import six
now = monotonic
try:
import eventlet as _eventlet # noqa
EVENTLET_AVAILABLE = True