1
0
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:
Reinhard Pointner 2019-05-19 19:34:33 +07:00
parent c9478ffeba
commit 6d93c99376

View File

@ -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
} }
} }
} }