Skip to content

Commit

Permalink
salt: Don't refresh leaderboard concurrently
Browse files Browse the repository at this point in the history
We no longer have a unique index on leaderboard_cube, so we can't refresh
it concurrently.

Fixes: a2717f4 ("Add groupings column to leaderboard_cube")
Signed-off-by: Sean Anderson <[email protected]>
  • Loading branch information
Forty-Bot committed Apr 13, 2024
1 parent 72995d2 commit 4ab9007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/backend.sls
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
[Service]
Type=oneshot
ExecStart=/usr/bin/psql -c 'REFRESH MATERIALIZED VIEW CONCURRENTLY leaderboard_cube' postgres:///trends
ExecStart=/usr/bin/psql -c 'REFRESH MATERIALIZED VIEW leaderboard_cube' postgres:///trends
User=daemon

/etc/systemd/system/leaderboard_refresh.timer:
Expand Down

0 comments on commit 4ab9007

Please sign in to comment.