* Change the Celery timeout to 15 minutes (from 10) to better accommodate automatic ingest
* Fix various small bugs in auto ingestion and tab implementation * Update TaskManager run conditions to piggyback on API calls - guarantees a certain frequency of requests and greatly reduces chances of lock contention
This commit is contained in:
parent
c92eceb60d
commit
e3feb17f0c
12 changed files with 34 additions and 17 deletions
|
@ -109,6 +109,7 @@ def podcast_download(id, url, callback_url, api_key):
|
|||
obj['fileid'] = f['id']
|
||||
obj['status'] = 1
|
||||
except Exception as e:
|
||||
obj['error'] = e.message
|
||||
logger.info('Error during file download: {0}'.format(e.message))
|
||||
obj['status'] = 0
|
||||
return json.dumps(obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue