llvm-project
799e9053 - [lldb] Create a default rate limit constant in Progress (NFC) (#133506)

Commit
261 days ago
[lldb] Create a default rate limit constant in Progress (NFC) (#133506) In #133211, Greg suggested making the rate limit configurable through a setting. Although adding the setting is easy, the two places where we currently use rate limiting aren't tied to a particular debugger. Although it'd be possible to hook up, given how few progress events currently implement rate limiting, I don't think it's worth threading this through, if that's even possible. I still think it's a good idea to be consistent and make it easy to pick the same rate limiting value, so I've moved it into a constant in the Progress class.
Author
Parents
Loading