mirror of
https://github.com/mitb-archive/filebot
synced 2024-11-14 13:25:10 -05:00
Fix logging & anti-abuse limits
This commit is contained in:
parent
c9478ffeba
commit
6d93c99376
@ -82,7 +82,6 @@ void build(ids, section, db, query) {
|
|||||||
|
|
||||||
artwork?.findResult{ a ->
|
artwork?.findResult{ a ->
|
||||||
return retry(2, 60000) {
|
return retry(2, 60000) {
|
||||||
sleep(2000)
|
|
||||||
try {
|
try {
|
||||||
log.fine "Fetch $a"
|
log.fine "Fetch $a"
|
||||||
return a.url.saveAs(original)
|
return a.url.saveAs(original)
|
||||||
@ -91,6 +90,7 @@ void build(ids, section, db, query) {
|
|||||||
return null
|
return null
|
||||||
} finally {
|
} finally {
|
||||||
ls original
|
ls original
|
||||||
|
sleep 5000
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user