Skip to content

Commit

Permalink
remove some log
Browse files Browse the repository at this point in the history
  • Loading branch information
facming committed Jul 28, 2024
1 parent bf9412c commit 38f47a0
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public BountyService(BountyRepository bountyRepository,


public void updateBountyData() {
log.info("updateBountyData_schedule task begin --------------------- ");
XxlJobHelper.log("updateBountyData_schedule task begin --------------------- ");
//update status
long currentSeconds = System.currentTimeMillis() / 1000;
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/dl/officialsite/defi/Schedule.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public void monitorPrice() throws Exception {
*/
public void monitorHealth() {
try {
log.info("monitorHealth start");
XxlJobHelper.log("monitorHealth start");
//查找team0 memeber获取地址
TeamQueryVo teamQueryVo = new TeamQueryVo();
Expand All @@ -86,7 +85,6 @@ public void monitorHealth() {
}
}
} catch (Exception e) {
log.error("monitorHealth error", e);
XxlJobHelper.log("monitorHealth error", e);
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,11 @@ public class DistributeService {
private MerkleDistributorConfig merkleDistributorConfig;

public void updateDistributeStatus() {
log.info("schedule task begin --------------------- ");
XxlJobHelper.log("DistributeService updateDistributeStatus start");
for (String chainId : chainConfig.getIds()) {
try {
updateDistributeStatusByChainId(chainId);
} catch (Exception e) {
e.printStackTrace();
log.error("updateDistributeStatusByChainId: " + chainId + " error:" + e.getMessage());
XxlJobHelper.log("updateDistributeStatusByChainId: " + chainId + " error:" + e.getMessage());
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,11 @@ public class RedPacketService {
public CloseableHttpClient httpClient = HttpClients.createDefault();

public void updateRedpacketStatus() {
log.info("schedule task begin --------------------- ");
XxlJobHelper.log("RedPacketService updateRedPacketStatus start");
for (String chainId : chainConfig.getIds()) {
try {
updateRedpacketStatusByChainId(chainId);
} catch (Exception e) {
e.printStackTrace();
log.error("updateRedpacketStatusByChainId: " + chainId + " error:" + e.getMessage());
XxlJobHelper.log("updateRedPacketStatusByChainId: " + chainId + " error:" + e.getMessage());
}
}
Expand All @@ -68,7 +65,6 @@ private void updateRedpacketStatusByChainId(String chainId) throws IOException {
String jsonResponse = EntityUtils.toString(entity);

if (jsonResponse.contains("errors")) {
log.info("response from the graph: chainId{}, data {} ", chainId, jsonResponse);
XxlJobHelper.log("response from the graph: chainId{}, data {} ", chainId, jsonResponse);
return;
}
Expand Down

0 comments on commit 38f47a0

Please sign in to comment.