qiita icon indicating copy to clipboard operation
qiita copied to clipboard

add mutex to sample addition update via api/v1/

Open antgonza opened this issue 6 years ago • 2 comments
trafficstars

antgonza avatar Mar 24 '19 20:03 antgonza

from @wasade: mutex should be pushed down into the objects not the interfaces. Otherwise a user could trigger a prep file recreation from the gui while in parallel a user could trigger one via the rest api

antgonza avatar Mar 24 '19 20:03 antgonza

@wasade, thinking more about this: the mutex is already implemented as part of the pgSQL transactions, so not sure if worth implemented at the object level as the only reason we do this in the GUI is so users avoid double clicking on the interface, which is pretty common ... thoughts?

antgonza avatar Mar 24 '19 20:03 antgonza