Skip to content

Commit

Permalink
Merge pull request #64 from yanyanho/main
Browse files Browse the repository at this point in the history
fix the task period
  • Loading branch information
yanyanho authored Dec 2, 2023
2 parents 2ce5fb9 + 810dddc commit 830202a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class RedPacketService {

public CloseableHttpClient httpClient = HttpClients.createDefault();

@Scheduled(cron = "0 0/3 * * * ? ")
@Scheduled(cron = "0 0/120 * * * ? ")
public void updateRedpacketStatus() throws IOException {
log.info("schedule task begin --------------------- ");
HttpPost request = new HttpPost("https://api.studio.thegraph.com/proxy/55957/dapp-learning-redpacket/version/latest");
Expand Down

0 comments on commit 830202a

Please sign in to comment.