Skip to content

Conversation

@PingPongEzZ
Copy link
Collaborator

I need to override HealthCheckWrapped because now we have an option to cancel the tasks
and there is some situations when we are waiting for a connection on the node and recursively calling request
function without any break condition and that is bad and unsafe. I've added a functionality of pushing the associated with the task UUID
and checking it for a cancellation before doing something in the recursive function
request(waitsForConnectivity:taskId:isCancelled:_ request:)

@PingPongEzZ PingPongEzZ force-pushed the trello.com/c/2Dz3alvN branch from 48aeb79 to 183041f Compare April 9, 2025 17:19
@PingPongEzZ PingPongEzZ changed the title [develop] Fixed a memory leak. [trello.com/c/2Dz3alvN] Fixed a memory leak. Apr 9, 2025
Copy link
Collaborator

@art-divin art-divin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using copilot or cursor AI to generate tests for these conditions. Can be a part of a separate PR.

@art-divin art-divin merged commit 966cbfd into develop Apr 10, 2025
1 check passed
@art-divin art-divin deleted the trello.com/c/2Dz3alvN branch April 10, 2025 05:08
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.

3 participants