Leego
Leego
**Make sure set the target branch to `develop`** ## What is the purpose of the change Use the `scheduleWithFixedDelay` instead of creating unnecessary `DeliverDelayedMessageTimerTask` and `HandlePutResultTask` objects to help GC....
When starting a broker instance with the default configuration, the `ScheduleMessageService` will create 180 `DeliverDelayedMessageTimerTask` objects per second, and 1800 `HandlePutResultTask` objects per second if `enableAsyncDeliver` is `true`, which is...
该 PR 目的:在 Windows 环境下,初始化`airtest.core.win.Windows`对象时,允许开发者选择性跳过`connect()`方法中的`set_foreground()`功能。 ## 特殊场景 我们在 Windows 环境下调用`airtest.core.api.connect_device(uri)`方法发现某个窗口(实际样式是菜单)闪了一下就消失了。  在`airtest.core.win.Windows`源码中,发现对象在初始化时会调用一次`set_foreground()`方法。 (似乎该窗口接收到任意非鼠标点击指令都会触发关闭事件?) 得益于 Python 的特性和 Airtest 的`CUSTOM_DEVICES`的设计,我们临时通过以下方式禁用了该功能: ```python from airtest.core.helper import G from airtest.core.win import Windows class HackingWindows(Windows): def...
**Version information (版本信息)** - ChatUI ~~or ChatUI Pro?~~ - ChatUI Version: 2.4.2 - React Version: 18.2.0 - OS Version: macOS - Browser Version: Google Chrome 105.0.5195.125 **Describe the bug (描述问题)**...