nickrsan / icefish_backend

0 stars 0 forks source link

Photo upload needs to clear folder on upload #7

Open nickrsan opened 6 years ago

nickrsan commented 6 years ago

Original report by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


After uploading one image, should move all remaining images in the folder to the "uploaded" folder - otherwise if the upload timing is out of sync with the capture timing, we accumulate images in the folder, which makes the image upload more CPU/network intensive.

nickrsan commented 6 years ago

Original comment by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


Some potential here for it to interfere with ADM if the calculations are too expensive. Should act on this soon.

nickrsan commented 6 years ago

Original comment by Nicholas Santos (Bitbucket: nickrsan, GitHub: nickrsan).


There also seems to be a case where it's not moving the files even after upload. The folders fill very quickly.