Repository navigation
feat(sync-service): Terminate shape consumer processes after timeout - #3455
Conversation
04d5efa to
b1744df
Compare
commit: |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3455 +/- ##
==========================================
+ Coverage 64.45% 67.57% +3.11%
==========================================
Files 173 182 +9
Lines 8713 9745 +1032
Branches 106 367 +261
==========================================
+ Hits 5616 6585 +969
- Misses 3096 3158 +62
- Partials 1 2 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b1744df to
c8e7da0
Compare
msfstef
left a comment
There was a problem hiding this comment.
Very nice, love that it's such a simple change!
Main nit is that I'd like to see the shape_enable_suspend? work as something that can be enabled via ELECTRIC_FEATURE_FLAGS - this is easy to configure on cloud as well and doesn't require threading through new variables every time.
| :ets.new(ets_name(stack_id), [ | ||
| :public, | ||
| :named_table, | ||
| write_concurrency: true, |
There was a problem hiding this comment.
why not keep it :auto? do we not trust OTP enough, or do OTP registries themselves use true explicitly?
There was a problem hiding this comment.
My thinking was: now we know that multiple processes will be concurrently writing why not just enable it. Reading the docs (😲 ) I see :auto is the recommended setting. I should read more docs.
d09ab1d to
b11338f
Compare
b11338f to
7d4d7f3
Compare
msfstef
left a comment
There was a problem hiding this comment.
Brilliant - this'll come in handy!
Closes #3253