biigle / laserpoints

:m: BIIGLE module to perform a heuristic laser point detection on images
GNU General Public License v3.0
0 stars 0 forks source link

Use cache locks of Laravel 5.5 #25

Closed mzur closed 5 years ago

mzur commented 6 years ago

Once BiodataMiningGroup/biigle-core#105 is finished, we can use cache locks to store the job indices in the Redis cache, instead of a file.

mzur commented 5 years ago

I now decided to simply use the atomic decrement operation to track the number of still running jobs. This is much simpler. As the previous solution or using cache locks as described above. As Biigle uses the Redis cache in its Docker environment, atomic operations are guaranteed.