Skip to content

Commit

Permalink
Update APISearchAction.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed Dec 27, 2024
1 parent 0fa1aa9 commit 0d08539
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/InternetSearch/APISearchAction.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ public final void actionPerformed(ActionEvent e) {
for (ToSearchItem item : toSearch) {
// 可能存在,一个搜索结果还未显示,又有另外一次相同内容搜索出现的情况。但是影响不大,就不管了
DoSearchAllInOnAtBackGround(item.getSearchType(), item.getSearchContent(), APISearchAction.this.engineList);

}
}

Expand Down Expand Up @@ -213,6 +214,13 @@ protected void done() {
}
};
worker.execute();
//"errmsg":"[45012] 请求速度过快"
try {
Thread.sleep(200);
} catch (InterruptedException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
}


Expand Down

0 comments on commit 0d08539

Please sign in to comment.