|
|
@@ -1576,6 +1576,12 @@ impl Core {
|
|
|
while !self.check_position(target_hold_coin).await {
|
|
|
sleep(Duration::from_secs(1)).await;
|
|
|
|
|
|
+ if clear_count >= 20 {
|
|
|
+ info!("清理次数达到上限:{}次,不再执行清理。", clear_count);
|
|
|
+ info!("");
|
|
|
+ break
|
|
|
+ }
|
|
|
+
|
|
|
clear_count += 1;
|
|
|
info!("清理指令发送完毕,启动第{}次检查。", clear_count);
|
|
|
info!("");
|