Skip to content

Allow return_when='FIRST_COMPLETED' in wait - #2598

Merged
mrocklin merged 1 commit into
dask:masterfrom
tsanikgr:first-completed
Apr 8, 2019
Merged

mrocklin merged 1 commit into
dask:masterfrom
tsanikgr:first-completed

Conversation

@tsanikgr

@tsanikgr tsanikgr commented Apr 8, 2019

Copy link
Copy Markdown
Contributor

Allow the argument return_when of the function dask.distributed.wait to be FIRST_COMPLETED, similarly to concurrent.futures.wait

Close #2108

@mrocklin

mrocklin commented Apr 8, 2019

Copy link
Copy Markdown
Member

This looks great to me. Thanks for the work @tsanikgr . The testing failures here are unrelated.

Merging.

Also, I notice that this is your first code contribution to this repository. Welcome!

@mrocklin
mrocklin merged commit 769c4f0 into dask:master Apr 8, 2019
@tsanikgr

tsanikgr commented Apr 8, 2019

Copy link
Copy Markdown
Contributor Author

Thanks @mrocklin, this was fast!!!
And thanks for the work you are doing, it is impressive :)

@tsanikgr
tsanikgr deleted the first-completed branch April 8, 2019 14:12
@mrocklin

mrocklin commented Apr 8, 2019 via email

Copy link
Copy Markdown
Member

@tsanikgr

tsanikgr commented Apr 8, 2019

Copy link
Copy Markdown
Contributor Author

Yes, I meant the whole dask community :)

darindf pushed a commit to darindf/distributed that referenced this pull request Apr 11, 2019
muammar added a commit to muammar/distributed that referenced this pull request Apr 12, 2019
* upstream/master:
  Add RabbitMQ SchedulerPlugin example (dask#2604)
  add resources to scheduler update_graph plugin (dask#2603)
  Use ensure_bytes in serialize_error (dask#2588)
  Specify data storage explicitly from Worker constructor (dask#2600)
  Change bokeh port keywords to dashboard_address (dask#2589)
  .detach_() pytorch tensor to serialize data as numpy array. (dask#2586)
  Add warning if creating scratch directories takes a long time (dask#2561)
  Fix typo in pub-sub doc. (dask#2599)
  Allow return_when='FIRST_COMPLETED' in wait (dask#2598)
  Forward kwargs through Nanny to Worker (dask#2596)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants