mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Merge branch 'trough-dedup' into qa
* trough-dedup: fix logging
This commit is contained in:
commit
242e81be7d
@ -70,7 +70,8 @@ class TroughClient(object):
|
|||||||
with self._dirty_segments_lock:
|
with self._dirty_segments_lock:
|
||||||
dirty_segments = list(self._dirty_segments)
|
dirty_segments = list(self._dirty_segments)
|
||||||
self._dirty_segments.clear()
|
self._dirty_segments.clear()
|
||||||
logging.info('promoting %s trough segments')
|
logging.info(
|
||||||
|
'promoting %s trough segments', len(dirty_segments))
|
||||||
for segment in dirty_segments:
|
for segment in dirty_segments:
|
||||||
try:
|
try:
|
||||||
self.promote(segment)
|
self.promote(segment)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user