From b424a187df8aaa43e458a88b3703729523b5de74 Mon Sep 17 00:00:00 2001 From: saumsaum Date: Wed, 2 Mar 2016 15:44:57 +0100 Subject: Shareonline.Biz: Fail on full instead of wait Up to now, if a file cannot be downloaded because of "Server is full", it waits 10 minutes a couple of times. And while waiting, nothing else gets downloaded from Shareonline.biz. After a couple of retries, the download will fail anyway. The "server is full" message usually stays for around one day on a file, but it doesn't necessarily affect other files on same hoster. Proposed solution: Do not wait on "server is full" but fail instead. Then, other files on ShareOnline.biz will continue downloading. --- module/plugins/hoster/ShareonlineBiz.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index 270759d2d..e99891bbb 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -172,7 +172,7 @@ class ShareonlineBiz(SimpleHoster): self.retry(wait=600, msg=errmsg) elif errmsg == "full": - self.retry(10, 600, _("Server is full")) + self.fail(_("Server is full")) elif 'slot' in errmsg: self.wait(3600, reconnect=True) -- cgit v1.2.3