Skip to content

Commit

Permalink
fix: increase access token refresh interval to 3600
Browse files Browse the repository at this point in the history
  • Loading branch information
Azure99 committed Apr 11, 2024
1 parent ebb7476 commit ea7a162
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class QianfanConfig {
private static final String QIANFAN_RPM_LIMIT = "QIANFAN_RPM_LIMIT";

private static final int DEFAULT_IAM_SIGN_EXPIRATION_SEC = 1800;
private static final int DEFAULT_ACCESS_TOKEN_REFRESH_MIN_INTERVAL = 5;
private static final int DEFAULT_ACCESS_TOKEN_REFRESH_MIN_INTERVAL = 3600;
private static final String DEFAULT_BASE_URL = "https://aip.baidubce.com";
private static final String DEFAULT_CONSOLE_API_BASE_URL = "https://qianfan.baidubce.com";
private static final String DEFAULT_LLM_API_RETRY_COUNT = "1";
Expand Down

0 comments on commit ea7a162

Please sign in to comment.