-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Queue a task to resolve from in parallel
#107
Conversation
Addresses: #100
@@ -201,9 +201,9 @@ The <dfn method for="StorageBucketManager">delete(|name|)</dfn> method steps are | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I don't know why I can't comment on L200)
Does the reject on L200 also need to be updated? Perhaps also moved out of the "in parallel" part?
Same question for the persist()
steps, both 1 and 2 under "in parallel". But I'm not sure. Maybe it should be "queue a storage task to run these steps" instead of "run these steps in parallel".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the catch. Unfortunately looks like the example I was looking at for "in parallel" use is also wrong here which hasn't been helpful :(. Adopted "queue a storage task to run these steps" since looking at other examples, looks like is right to use here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great. I think the first step (validating bucket name) belongs outside the storage task steps as well. At least, that's what's implemented in Chromium and I don't see a need to go to the storage task queue because name validation is a static operation. WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, missed that part of the comment. Moved name validation above task steps.
@@ -201,9 +201,9 @@ The <dfn method for="StorageBucketManager">delete(|name|)</dfn> method steps are | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great. I think the first step (validating bucket name) belongs outside the storage task steps as well. At least, that's what's implemented in Chromium and I don't see a need to go to the storage task queue because name validation is a static operation. WDYT?
Per in-person discussion, closing. |
Addresses: #100
Preview | Diff