Page MenuHomeSoftware Heritage

api/server: Do not read configuration at each request

Authored by ardumont on Feb 14 2019, 12:02 AM.

Diff Detail

rDVAU Software Heritage Vault
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Feb 14 2019, 12:02 AM
douardda accepted this revision.Feb 14 2019, 9:42 AM

A bit 'how you doing' there, but 1/ it's kind of consistent with other similar modules in other swh packages, and 2/ who cares?

This revision is now accepted and ready to land.Feb 14 2019, 9:42 AM
This revision was automatically updated to reflect the committed changes.