Skip to content

Commit

Permalink
Merge pull request #3130 from mwiencek/nix-advisory-locks
Browse files Browse the repository at this point in the history
MBS-13449: Reimplement transactional cache without database locks
  • Loading branch information
mwiencek committed Feb 8, 2024
2 parents cdd54ff + f4d3a5a commit 7ed2a0a
Show file tree
Hide file tree
Showing 31 changed files with 550 additions and 781 deletions.
3 changes: 2 additions & 1 deletion docker/musicbrainz-tests/DBDefs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ sub CACHE_MANAGER_OPTIONS {
options => {
server => 'localhost:6379',
namespace => $self->CACHE_NAMESPACE,
database => 0,
},
},
},
Expand All @@ -104,7 +105,6 @@ sub DATASTORE_REDIS_ARGS {
database => 0,
namespace => $self->CACHE_NAMESPACE,
server => 'localhost:6379',
test_database => 1,
};
}

Expand Down Expand Up @@ -134,6 +134,7 @@ sub PLUGIN_CACHE_OPTIONS {
class => 'MusicBrainz::Server::CacheWrapper::Redis',
server => 'localhost:6379',
namespace => $self->CACHE_NAMESPACE . 'Catalyst:',
database => 0,
};
}

Expand Down

0 comments on commit 7ed2a0a

Please sign in to comment.