Redis replica

This commit is contained in:
Samuel Clay 2023-06-08 07:09:59 -04:00
parent ea22256c59
commit 2167805856
3 changed files with 4 additions and 1 deletions

View file

@ -37,4 +37,5 @@
"nrf-connect.toolchain.path": "${nrf-connect.toolchain:1.9.1}",
"C_Cpp.default.configurationProvider": "nrf-connect",
"editor.formatOnSave": false,
"ansible.python.interpreterPath": "/opt/homebrew/bin/python3",
}

View file

@ -34,6 +34,7 @@
dest: /srv/newsblur/docker/redis/redis_replica.conf
notify: restart redis
register: updated_config
when: "'db-redis-story1' in inventory_hostname"
- name: Create Redis docker volume with correct permissions
file:
@ -48,6 +49,7 @@
docker_container:
name: redis
image: redis:7
pull: true
state: started
command: /usr/local/etc/redis/redis_server.conf
container_default_behavior: no_defaults

View file

@ -85,7 +85,7 @@
<img src="/media/img/logo_512.png" class="logo">
<h1>NewsBlur is in <span class="error404">maintenance mode</span></h1>
<div class="description">
<p>Moving to a new primary PostgreSQL DB server to fix the machine-specific issues over the past 48 hours.</p>
<p>Restarting the Redis story server because this gives immediate performance gains.</p>
<p>To pass the time, <a href="http://mltshp.com/popular">check out what's popular on MLTSHP</a>.</p>
</div>
</div>