mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Merge branch 'controller_fix_etc' into qa
This commit is contained in:
commit
c21d77335f
@ -166,8 +166,9 @@ class WarcproxController(object):
|
|||||||
with processor.inq.mutex:
|
with processor.inq.mutex:
|
||||||
l = list(processor.inq.queue)
|
l = list(processor.inq.queue)
|
||||||
for recorded_url in l:
|
for recorded_url in l:
|
||||||
if not earliest or (earliest and (recorded_url.timestamp < earliest)):
|
if recorded_url.timestamp:
|
||||||
earliest = recorded_url.timestamp
|
if not earliest or (recorded_url.timestamp < earliest):
|
||||||
|
earliest = recorded_url.timestamp
|
||||||
return earliest
|
return earliest
|
||||||
|
|
||||||
def postfetch_status(self):
|
def postfetch_status(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user