Skip to content

feat: add parallel price acquisition - #19

Open
OneSpir1t wants to merge 1 commit into
IhanaMies:masterfrom
OneSpir1t:master
Open

feat: add parallel price acquisition#19
OneSpir1t wants to merge 1 commit into
IhanaMies:masterfrom
OneSpir1t:master

Conversation

@OneSpir1t

@OneSpir1t OneSpir1t commented May 6, 2025

Copy link
Copy Markdown

Some improvements that were made:

  • Added parallel price extraction (if there is an existing request in the pool, it is also processed, which eliminates duplication of such requests);
  • Added an explicit setting for forced exclusion of prices from Flea, as well as the ability to use the original method for obtaining the price;

Explanation:

In the original implementation, when extracting prices, the main flow was blocked, which led to freezes and, as a result, a negative experience of using the mod (especially with Fika, #11). In addition, extracting prices from Flea was determined by the parameter "Enable qiuck sale to flea", which is not entirely obvious, so it was moved to a separate setting. In general, you can see for yourself how it works now.

P.S. The setting for parallel price extraction is disabled by default

@OneSpir1t

Copy link
Copy Markdown
Author

Slightly restructured code and fixed tabulation issue.

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.

1 participant