Closed gwoo closed 7 years ago
Would love to review this, but would be a lot easier if these changes were broken out into ~4 PR's.
@ajvb Unfortunately there was no easy way to break this out into multiple PRs. I did a half way decent job of trying to organize it by commits.
There was another commit that just renamed it from FreeJobCache to LockFreeJobCache https://github.com/ajvb/kala/pull/157/commits/6919ac644a8df7ce132f2aaa674a696d75ac447b
Then, I added support for the address in https://github.com/ajvb/kala/pull/157/commits/13ab848cf4305a9b93bb64ad90e69f643e0822cb
go test -race
was failing on the client tests
Here is the switch to the vendor directory for latest versions of Go. While still using Godeps to manage it.
The LockFreeJobCache fixes a bug where inserting a new job would take several minutes or even timeout when a lot of jobs were in the cache. see #150 Consul Support which is very similar to #130 Moved to native go vendoring, but still using godep to manage for now. Added a few info messages and standardize on using jobName:jobId throughout.