1014390: Speed up pulp actions by using a variable wait time

Speed up content view publishing by 3-4 fold.
Merge pull request #3091 from daviddavis/smarter-sleep-times

1014390: Speed up pulp actions by using a variable wait time