Skip to content

Commit

Permalink
Enabled weakReferences in db4o database configuration to improve garb…
Browse files Browse the repository at this point in the history
…age collection of db4o object references.
  • Loading branch information
mckinney-subgraph committed Sep 7, 2013
1 parent e01f5be commit cde6c64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public EmbeddedConfiguration createDefaultConfiguration() {
configuration.common().objectClass(ScanAlert.class).objectField("requestId").indexed(true);
configuration.common().objectClass(Tag.class).objectField("name").indexed(true);

configuration.common().weakReferences(false);
configuration.common().weakReferences(true);

if(DIAGNOSTICS_ENABLED) {
configuration.common().diagnostic().addListener(new DiagnosticToConsole());
Expand Down

0 comments on commit cde6c64

Please sign in to comment.