|
All checks were successful
continuous-integration/drone/push Build is passing
Split the complex with_advisory_lock function into smaller, focused functions to improve readability and reduce cyclomatic complexity: - with_advisory_lock_in_transaction: Handles case when already in transaction - with_advisory_lock_new_transaction: Handles case when starting new transaction - execute_within_transaction: Executes function within transaction - normalize_fun_result: Normalizes function results to consistent format - handle_transaction_result: Handles transaction results and sends notifications This fixes Credo warnings: - Function body nested too deep (was 3, now max 2) - Function too complex (was 11, now max 9) |
||
|---|---|---|
| .. | ||
| accounts/user | ||
| email_sync | ||
| membership/member/validations | ||
| membership_fees | ||
| application.ex | ||
| constants.ex | ||
| mailer.ex | ||
| release.ex | ||
| repo.ex | ||
| secrets.ex | ||