Skip to content

Commit

Permalink
fix(trade): Spawn trade execution in dedicated task
Browse files Browse the repository at this point in the history
If the trade execution takes longer than 30 seconds the http request times out and the thread gets killed.

However, the spawned blocking thread to propose the dlc channel is finishing and sending the offer message. That leads to the coordinator sending the dlc message without updating the 10101 meta data (e.g. creating the position, updating order, etc.)

This also applies to the renew and close position flows.
  • Loading branch information
holzeis committed Feb 13, 2024
1 parent 255eedc commit bab3e0f
Show file tree
Hide file tree
Showing 4 changed files with 671 additions and 580 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Feat(mobile): Let user add a name to their profile for the leaderboard
- Feat(coordinator): Allow to specify time range for leadership board
- Fix(trade): Spawn trade execution in dedicated task

## [1.8.7] - 2024-02-10

Expand Down
Loading

0 comments on commit bab3e0f

Please sign in to comment.