+
Skip to content

Conversation

aliel
Copy link
Member

@aliel aliel commented Sep 17, 2025

During long operations, the mq client is disconnected by the server and loses the context of processed messages from the mq exchange.
This behavior introduces inconsistency in the processing order between each processing task.

Changes

Setting the heartbeat timeout to 10 minutes is sufficient to avoid this problem.

@aliel aliel force-pushed the aliel-fix-mq-timeout branch from 82cbc4f to 3a0f281 Compare September 17, 2025 18:36
@aliel aliel requested a review from nesitor September 17, 2025 19:44
@nesitor nesitor merged commit 80df885 into main Sep 18, 2025
5 checks passed
@nesitor nesitor deleted the aliel-fix-mq-timeout branch September 18, 2025 09:07
nesitor added a commit that referenced this pull request Oct 8, 2025
…ycle management (#836)

* feature: support aleph credits

* feat: parse new credit airdrop messages and refactor credit_balances table and primary key

* fix: change credit amount type from Decimal to int

* fix: lint errors

* feat: implement credit cost calculation and garbage collector

* point to tmp branch for aleph-message package

* fix: added missing migration for error code

* fix: balance Decimal type in http response

* fix: fix migrations order

* feat: filter accepted credit messages with channel + address + post types

* feat: remove /api/v0/addresses/{address}/credit_balance and integrate it in /api/v0/addresses/{address}/balance

* feat: support credit distribution, transfer, expense

* fix: added more tests

* fix: credit_history table and fifo calculation taking into account expiration and expenses

* feat: credit history endpoint + lint fixes

* fix: validate_balance_for_payment to take into account all resources + new one for the next 24 hours

* fix: validate_balance_for_payment to take into account all resources + new one for the next 24 hours

* Solve format issue on balance pre-check (#855)

* Fix: Solve issue on format getting IPFS file sizes before downloading the entire content.

* Fix: Added test cae for string dag_node format

* Fix RabbitMQ connection timeouts during long operations. (#856)

* Fix IPFS conf: use the recommended method to update IPFS configuration (#846)

* fix: lint

* fix: pending_message queue getting stuck due to bad error handling

* Fix: Added a default internal code for errors.

* fix: bugfix caching expired credit balances

* fix: lint fix

* fix: CI fixes due to hatch problematic dep

* feat: new index in credit_history.expiration_date column

* fix: added cost_credit in cost http response

* fix: change pricing aggregate owner for testing

* feat: added charged_address in /price and /price/estimate response

* Fix: Upgrade `aleph_message` version to `1.0.5`

* Fix: Pin pydantic version to the previous one from latest.

* Fix: Solved failing test and put legacy and current PAYG message tests.

* fix: fix account addresses for credit and settings

* fix: new credit channel

---------

Co-authored-by: nesitor <amolinsdiaz@yahoo.es>
Co-authored-by: Alie.E <ali.elb@gmail.com>
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载