tracy icon indicating copy to clipboard operation
tracy copied to clipboard

Add connection time and memory usage limits

Open MrAntoine77 opened this issue 7 months ago • 2 comments

This PR introduces two new optional fields to the login process, allowing the capture to stop automatically: Capture d'écran 2025-07-07 102041

  • After a specified duration (in seconds) https://github.com/user-attachments/assets/d9625211-76ca-4405-a367-e814e15c6991
  • After a specified memory usage (in megabytes) https://github.com/user-attachments/assets/4ef2493d-12bb-4053-b284-5921ffb43285

Setting either value to 0 disables the corresponding limit. image

MrAntoine77 avatar Jul 07 '25 08:07 MrAntoine77

The memory limit is a duplication of already existing functionality (about window -> global settings -> memory limit).

I don't like the amount of clutter this change introduces. It should be hidden by default.

wolfpld avatar Jul 07 '25 20:07 wolfpld

I reworked the whole PR based on @MrAntoine77's work. This now only adds the connection duration limit.

I think it may be interesting to allow an option for quick edit of some settings (perhaps making the about windows a real window that the user can keep open would be enough?). But that's a question for another issue/PR I think now.

Lectem avatar Jul 30 '25 13:07 Lectem