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

fix: Price pusher concurrency issue onchain #180

Merged
merged 5 commits into from
Jul 31, 2024

Conversation

akhercha
Copy link
Member

@akhercha akhercha commented Jul 30, 2024

Closes #NA

Introduced changes

  • Fixed concurrency issue when publishing on chain. We now have an asyncio.Lock that locks the creation of a new nonce exclusively to one thread, so we never run into a concurrency problem where two threads catch the same nonce.
  • Updates price pusher configs

@akhercha akhercha requested a review from EvolveArt July 30, 2024 20:38
@akhercha akhercha self-assigned this Jul 30, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.94%. Comparing base (3c7942a) to head (2df5f25).
Report is 11 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #180       +/-   ##
===========================================
+ Coverage   16.12%   78.94%   +62.81%     
===========================================
  Files           6        2        -4     
  Lines          62       38       -24     
===========================================
+ Hits           10       30       +20     
+ Misses         52        8       -44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@EvolveArt EvolveArt merged commit 30eb08e into master Jul 31, 2024
10 checks passed
@EvolveArt EvolveArt deleted the fix/price_pusher_concurrency branch July 31, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants