Skip to content

Commit

Permalink
test orange text
Browse files Browse the repository at this point in the history
  • Loading branch information
dragoon committed Nov 19, 2023
1 parent bc1bc5b commit 4a18301
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,10 @@ async def collect_data(self):
In case we get ``asyncio.TimeoutError``, we simply sleep with a constant delay, and then try to re-connect.
In case of other exceptions, we sleep with exponential backoff delay, and exit completely if the number of retries exceeded pre-configured value.

:warning: It is worth noting, that while network errors are somewhat expected, other exceptions are not,
and the generic exception handle will swallow everything, even errors in your implementation.
The log monitoring system should be configured to notify the dev team in case of such errors.
```diff
! :warning: It is worth noting, that while network errors are somewhat expected, other exceptions are not, and the generic exception handle will swallow everything, even errors in your implementation.
! The log monitoring system should be configured to notify the dev team in case of such errors.
```

Finally, ``_process_depth_cache`` function checks the elapsed time and sends data entry for storing in minute intervals.

Expand Down

1 comment on commit 4a18301

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
start_data_collector.py25250%1–33
datacollector
   domain.py260100% 
datacollector/repositories
   data_repository.py60100% 
datacollector/services
   collector_service.py641084%16, 19–31
   data_process_service.py400100% 
   datetime_service.py9189%13
TOTAL1703679% 

Tests Skipped Failures Errors Time
6 0 💤 0 ❌ 0 🔥 1.693s ⏱️

Please sign in to comment.