aio-libs / aiohttp-sse

Server-sent events support for aiohttp
Other
192 stars 35 forks source link

Don't recreate string for every ping #467

Closed Olegt0rr closed 4 months ago

Olegt0rr commented 4 months ago

What do these changes do?

Create ping message once, not for every ping.

Are there changes in behavior for the user?

No changes

Related issue number

No issues

Checklist

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ae2581b) 100.00% compared to head (589d991) 100.00%. Report is 2 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #467 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 4 4 Lines 474 475 +1 Branches 54 54 ========================================= + Hits 474 475 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.