File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,6 @@ MarkupSafe==2.1.3
41
41
mccabe == 0.6.1
42
42
mistune == 0.8.4
43
43
mock == 2.0.0
44
- monotonic == 1.6
45
44
multidict == 5.1.0
46
45
packaging == 21.0
47
46
pbr == 5.11.1
Original file line number Diff line number Diff line change 1
1
import logging
2
+ import time
2
3
from threading import Thread
3
- import monotonic
4
4
import backoff
5
5
import json
6
6
@@ -88,11 +88,11 @@ def next(self):
88
88
queue = self .queue
89
89
items = []
90
90
91
- start_time = monotonic .monotonic ()
91
+ start_time = time .monotonic ()
92
92
total_size = 0
93
93
94
94
while len (items ) < self .upload_size :
95
- elapsed = monotonic .monotonic () - start_time
95
+ elapsed = time .monotonic () - start_time
96
96
if elapsed >= self .upload_interval :
97
97
break
98
98
try :
Original file line number Diff line number Diff line change 21
21
22
22
install_requires = [
23
23
"requests~=2.7" ,
24
- "monotonic~=1.5" ,
25
24
"backoff~=2.1" ,
26
25
"python-dateutil~=2.2"
27
26
]
You can’t perform that action at this time.
0 commit comments