You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* gitflow-feature-stash: update-readme.md
* Extends CI to develop and main branches
Updates the CI workflow to trigger on push and pull request events for both the `develop` and `main` branches, ensuring comprehensive testing and validation for all relevant code changes.
Resilient database transactions for Laravel applications that need to gracefully handle MySQL deadlocks and serialization failures. This helper wraps `DB::transaction()` with targeted retries, structured logging, and exponential backoff so you can keep your business logic simple while surviving transient contention.
8
12
9
13
## Highlights
14
+
10
15
- Retries only known transient failure scenarios (MySQL driver error `1213` and SQLSTATE `40001`), leaving all other exceptions untouched.
11
16
- Exponential backoff with jitter between attempts to reduce stampedes under load.
12
17
- Structured logs with request metadata, SQL, bindings, connection information, and stack traces written to dated files under `storage/logs/{Y-m-d}`.
0 commit comments