gfredericks / vcr-clj

Generic IO playback for clojure
117 stars 20 forks source link

Recording on other threads doesn't work #16

Closed gfredericks closed 7 years ago

gfredericks commented 7 years ago

The recent release includes a *recording?* var that defaults to false and has a thread-local value of true when recording.

Because the true is thread-local, calls made on other threads are not recorded.

This is at least different from the behavior in the previous release. Will have to think carefully about what it should do before deciding how to fix it.