background scribd resubmission
background scribd resubmission

If a scribd submission errors out, we add a delay
and make it a background task to resubmit the
scribd doc.  This is important since sometimes the
resubmission gets triggered as part of a page
request, and it also waits a little bit before
resubmitting to scribd in case the problem
is something to do with their servers.

Change-Id: I14e796b90bad371c8c2718fc83cd22c97d94cc96
Reviewed-on: https://gerrit.instructure.com/3026
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Ryan Shaw <ea3cd978650417470535f3a4725b6b5042a6ab59@instructure.com>

wye0220/shindig-canvas,sfu/canvas-lms,antoniuslin/canvas-lms,HotChalk/canvas-lms,roxolan/canvas-lms,dgynn/canvas-lms,instructure/canvas-lms,tgroshon/canvas-lms,kyroskoh/canvas-lms,tgroshon/canvas-lms,ankithbti/canvas_lms,sli7246/canvas_branch,em2/canvas-lms,narigone/canvas,whalejasmine/canvas-lms,dgynn/canvas-lms,djbender/canvas-lms,roxolan/canvas-lms,jay3126/canvas-lms,sdeleon28/canvas-lms,snehakachroo1/LSI_replica,utkarshx/canvas-lms,arrivu/arrivu-lms,Unow/canvas-lms,AndranikMarkosyan/lms,HotChalk/canvas-lms,va7map/canvas-lms,ShreniiNepal/shrenii_lmp,nditech/red-innovadores-lms,landonwilkins/canvas-lms,Unow/ins,snehakachroo1/LSI_replica,utkarshx/canvas-lms,fronteerio/canvas-lms,rup/Tarrax,arrivu/jigsaw-lms,narigone/canvas,arrivu/hoodemo,djbender/canvas-lms,Unow/ins,AndranikMarkosyan/lms,kyroskoh/canvas-lms,sfu/canvas-lms,wimemx/Canvas,eCNAP/CANVAS,kyroskoh/canvas-lms,juoni/canvas-lms,sfu/canvas-lms,juoni/canvas-lms,sdeleon28/canvas-lms,merichar/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,icelab/canvas,grahamb/canvas-lms,instructure/canvas-lms,ShreniiNepal/shrenii_lmp,skmezanul/canvas-lms,shidao-fm/canvas-lms,ankithbti/canvas_lms,eCNAP/CANVAS,snehakachroo1/LSI_replica,parbros/red-innovadores-lms,Rvor/canvas-lms,grahamb/canvas-lms,redconfetti/canvas-lms,grahamb/canvas-lms,greyhwndz/canvas-lms,landonwilkins/canvas-lms,faraazkhan/canvas,arrivu/arrivu-lms,leftplusrightllc/canvas-lms,fronteerio/canvas-lms,whalejasmine/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,sfu/canvas-lms,wrdsb/canvas-lms,samuels410/greatlakes-lms,em2/canvas-lms,ottenhoff/canvas-lms,loganrun/pincan,sfu/canvas-lms,shidao-fm/canvas-lms,ottenhoff/canvas-lms,leftplusrightllc/canvas-lms,eCNAP/CANVAS,nditech/red-innovadores-lms,redconfetti/canvas-lms,arrivu/arrivu-lms,Jyaasa/canvas-lms,sfu/canvas-lms,SwinburneOnline/canvas-lms,venturehive/canvas-lms,wimemx/Canvas,jay3126/canvas-lms,juoni/canvas-lms,matematikk-mooc/canvas-lms,wrdsb/canvas-lms,narigone/canvas,gbleydon/canvas-lms,arrivu/hiring-site,SwinburneOnline/canvas-lms,arrivu/hoodemo,wye0220/shindig-canvas,arrivu/qibla-ecampus,HotChalk/canvas-lms,arrivu/jigsaw-lms,instructure/canvas-lms,grahamb/canvas-lms,rup/Tarrax,kyroskoh/canvas-lms,shidao-fm/canvas-lms,arrivu/qibla-ecampus,nditech/red-innovadores-lms,shidao-fm/canvas-lms,dgynn/canvas-lms,efrj/canvas-lms,instructure/canvas-lms,Jyaasa/canvas-lms,jay3126/canvas-lms,djbender/canvas-lms,AndranikMarkosyan/lms,samuels410/greatlakes-lms,Unow/ins,wrdsb/canvas-lms,va7map/canvas-lms,venturehive/canvas-lms,landonwilkins/canvas-lms,merichar/canvas-lms,icelab/canvas,ShreniiNepal/shrenii_lmp,samuels410/greatlakes-lms,wimemx/Canvas,utkarshx/canvas-lms,landonwilkins/canvas-lms,leftplusrightllc/canvas-lms,eCNAP/CANVAS,usmschuck/canvas,icelab/canvas,dgynn/canvas-lms,roxolan/canvas-lms,skmezanul/canvas-lms,juoni/canvas-lms,Unow/canvas-lms,arrivu/hiring-site,antoniuslin/canvas-lms,parbros/red-innovadores-lms,sli7246/canvas_branch,tgroshon/canvas-lms,sli7246/canvas_branch,efrj/canvas-lms,arrivu/hiring-site,SwinburneOnline/canvas-lms,va7map/canvas-lms,loganrun/pincan,va7map/canvas-lms,efrj/canvas-lms,usmschuck/canvas,Unow/canvas-lms,instructure/canvas-lms,sdeleon28/canvas-lms,leftplusrightllc/canvas-lms,em2/canvas-lms,matematikk-mooc/canvas-lms,venturehive/canvas-lms,redconfetti/canvas-lms,whalejasmine/canvas-lms,roxolan/canvas-lms,arrivu/hoodemo,rup/Tarrax,instructure/canvas-lms,ShreniiNepal/shrenii_lmp,antoniuslin/canvas-lms,instructure/canvas-lms,utkarshx/canvas-lms,matematikk-mooc/canvas-lms,Rvor/canvas-lms,sdeleon28/canvas-lms,gbleydon/canvas-lms,Jyaasa/canvas-lms,snehakachroo1/LSI_replica,greyhwndz/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,antoniuslin/canvas-lms,HotChalk/canvas-lms,narigone/canvas,fronteerio/canvas-lms,merichar/canvas-lms,samuels410/greatlakes-lms,greyhwndz/canvas-lms,gbleydon/canvas-lms,grahamb/canvas-lms,ottenhoff/canvas-lms,Rvor/canvas-lms,usmschuck/canvas,wye0220/shindig-canvas,skmezanul/canvas-lms,jay3126/canvas-lms,whalejasmine/canvas-lms,arrivu/jigsaw-lms,fronteerio/canvas-lms,ankithbti/canvas_lms,faraazkhan/canvas,faraazkhan/canvas,AndranikMarkosyan/lms,SwinburneOnline/canvas-lms,parbros/red-innovadores-lms,venturehive/canvas-lms,redconfetti/canvas-lms,skmezanul/canvas-lms,usmschuck/canvas,nditech/red-innovadores-lms,Rvor/canvas-lms,djbender/canvas-lms,loganrun/pincan,arrivu/qibla-ecampus,efrj/canvas-lms