Charles Hansen
Charles Hansen
Interesting problem. I don't have any cheap ideas for a good "Cancel and Reschedule Jobs" process in the workers, but timeouts on BlobstoreDelete sound safe to me. We have nightly...
I just discovered this is already configurable, https://github.com/cloudfoundry/capi-release/blob/8d84509d049ca4b9605579f0a2e8295f5f5cecc0/jobs/cloud_controller_worker/spec#L96 @petergtz can you try setting the blobstore delete timeout and see if it fixes your problem? You may want to set it...
Agreed there might be a much better default. I don't think we ever use the job to delete folders, so it shouldn't be too bad. My main worry is someone...
Forgot to add, there is another option: Blobstore delete jobs are marked as low priority, so they don't clog up the workers as much.
Hi lwoydziak. Thanks for the PR. I haven't needed to mock promises in a couple years (partially moved to other languages, partially because async testing improved and I didn't need...
Sure, I'll add something. Glad it worked for you.
True story. I'm not 100% sure there even was a Promise.all spec when I wrote this. I don't know when I will have time to fix it, but I don't...