bigmachine-io / taking-off

93 stars 27 forks source link

Concurrency Example Postgrex.close/1 #8

Closed thegaryroberts closed 7 years ago

thegaryroberts commented 7 years ago

I get error Postgrex.close/1 is undefined or private in the example where we are using the Postgrex driver directly. The Postgrex docs only show close/3 & close!/3 (although 1 of the parameters is optional so I think that also makes it close/2).

thegaryroberts commented 7 years ago

I see now the Postgrex.close(pid) line is only in the video & the book. It's removed from the files here on github, along with the "res" return value.

robconery commented 7 years ago

Cheers thanks for this. I'm updating the videos/book currently and I'll make sure that gets fixed.

robconery commented 7 years ago

Good stuff - comment added thank you!