VEuPathDB / service-eda

Repo containing EDA web service
Apache License 2.0
0 stars 0 forks source link

Avoid potential NPE caused by race condition with simultaneous expiration requests. #51

Closed Foxcapades closed 1 month ago

Foxcapades commented 1 month ago

Resolves #50

Foxcapades commented 1 month ago

I think we should merge this so Cristina can run this, but this looks even more expensive than what we already had (and performance was abysmal before). Wonder if we can do this more efficiently somehow (bulk file reads from minio).

This should be basically the same as what we had before, I just moved the getJob call up into it's own map so it could be filtered out with Objects.nonNull