Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

リスト新着投稿通知処理を、リードレプリカの中から外す #421

Closed
kmycode opened this issue Jan 4, 2024 · 0 comments · Fixed by #424
Closed

リスト新着投稿通知処理を、リードレプリカの中から外す #421

kmycode opened this issue Jan 4, 2024 · 0 comments · Fixed by #424
Labels
bug Something isn't working priority-high
Milestone

Comments

@kmycode
Copy link
Owner

kmycode commented Jan 4, 2024

挙動を変更してほしい機能や動作

リスト新着投稿通知処理の場所

現在の挙動

with_read_replicaの中にcreate!がある

list_status = ListStatus.create!(list: @list, status: @status)

変更してほしい新しい挙動

with_read_replicaの中にcreate!が入らないようにする

必要性

リードレプリカに対して書き込むことに成るので

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working priority-high
Projects
None yet
1 participant