AllenNeuralDynamics / aind-data-transfer-service

FastAPI service to run data compression and transfer jobs on the hpc
MIT License
1 stars 0 forks source link

Add caching to /api/job_upload_template #74

Closed helen-m-lin closed 8 months ago

helen-m-lin commented 8 months ago

Is your feature request related to a problem? Please describe. As a developer, I want to the /api/job_upload_template endpoint to be more efficient so that a new template file is not generated every time.

Describe the solution you'd like Implement caching for /api/job_upload_template endpoint (and any others as appropriate).

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Note: this feature may not be needed/ not priority since the current implementation is quite fast already.

jtyoung84 commented 8 months ago

Decided that this is fast enough to not need caching