• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gnosis / dex-services / 4054
31%

Build:
DEFAULT BRANCH: master
Ran 09 Jul 2020 10:27AM UTC
Jobs 1
Files 74
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2020 10:13AM UTC coverage: 27.875%. Remained the same
4054

push

travis-pro

web-flow
[Easy] Make async logger blocking (#1100)

We are still seeing logger overflows in the alert channel. Looking at the logs that actually get produced this is clearly not due to file I/O but rather due to the fact that filtering out irrelevant logs (e.g. trace) happens on the async thread which may be suspended and thus not process any logs.

I see three possible strategies:
1. Keep increasing the buffer (not a fan as this is really just the band-aid way of fixing things and we don't really have a good upper bound)
2. Make the strategy in case of overflow to [block](https://docs.rs/slog-async/2.5.0/slog_async/enum.OverflowStrategy.html#variant.Block) (I chose this as we don't really rely on our logs being async for performance reasons. It's only to have a logger that we can send across threads).
3. Lift the filter one layer up and do it before dispatching the logs down the drain (while this would be the nicest, the logic that converts the filter string into a boolean filter method inside LogBuilder is not public and would thus involve writing it manually as far as I can tell).

I also removed the custom channel size as it doesn't seem needed anymore

### Test Plan
Run locally with a fake channel size of 5. See no errors and no noticeable performance overhead.

9586 of 39313 branches covered (24.38%)

Branch coverage included in aggregate %.

2566 of 4281 relevant lines covered (59.94%)

14153.49 hits per line

Jobs
ID Job ID Ran Files Coverage
3 4054.3 (OPEN_SOLVER_VERSION=v0.0.10 PRIVATE_SOLVER_VERSION=v0.8.0) 09 Jul 2020 10:27AM UTC 0
27.88
Travis Job 4054.3
Source Files on build 4054
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4054
  • ed5c0c2f on github
  • Prev Build on master (#4051)
  • Next Build on master (#4066)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc