divviup / janus

Experimental implementation of the Distributed Aggregation Protocol (DAP) specification.
Mozilla Public License 2.0
54 stars 15 forks source link

Clean up test databases #3358

Closed divergentdave closed 3 months ago

divergentdave commented 3 months ago

This drops the database associated with an EphemeralDatastore when we are done with it. This frees up resources in the database container. Shared memory in particular was the first thing to run out after several hundred simulation test runs in the same database container. The Docker default shared memory limit is somewhat low, 64 MiB, but I don't think we'll need to bump it up if we do this cleanup.