Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Some small refactoring #364

Merged
merged 1 commit into from
Apr 28, 2024
Merged

Conversation

sunxiaoguang
Copy link
Contributor

@sunxiaoguang sunxiaoguang commented Apr 28, 2024

When reading Laravel document and trying to understand how it works, I made two small changes.

  1. A small refactor to app/Exceptions/Handler.php
  2. Try count 6 different metrics at once to save some database roundtrips.

The second change is helpful because my connection to database is kind of slow. Since it's not making the code too complicate, I guess it's reasonable to make the change. But I totally understand it may not make sense for others.

1. A small refactor to app/Exceptions/Handler.php
2. Try count 6 different metrics at once to save some database
   roundtrips.

Signed-off-by: Xiaoguang Sun <sunxiaoguang@gmail.com>
@SMEWebify SMEWebify self-assigned this Apr 28, 2024
@SMEWebify SMEWebify added the Improvement New feature or request label Apr 28, 2024
@SMEWebify SMEWebify added this to In progress in v1.09 - Pieris ergane via automation Apr 28, 2024
@SMEWebify SMEWebify merged commit 5a8c740 into SMEWebify:WEM-2.0 Apr 28, 2024
1 check passed
v1.09 - Pieris ergane automation moved this from In progress to Done Apr 28, 2024
@SMEWebify SMEWebify moved this from Done to Integrated on demo site in v1.09 - Pieris ergane Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement New feature or request
Projects
No open projects
v1.09 - Pieris ergane
Integrated on demo site
Development

Successfully merging this pull request may close these issues.

None yet

2 participants