Skip to content

Commit 76dec82

Browse files
committed
feat: bump max wake up retries to 30
1 parent e12681b commit 76dec82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

issue-bot/src/embeddings/inference_endpoints.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ impl EmbeddingApi {
4949

5050
pub async fn generate_embedding(&self, text: String) -> Result<Vec<f32>, EmbeddingError> {
5151
const MAX_RETRIES: u32 = 5;
52-
const MAX_WAKE_UP_RETRIES: u32 = 10;
52+
const MAX_WAKE_UP_RETRIES: u32 = 30;
5353
let mut retries = 0;
5454
let mut wake_up_retries = 0;
5555
loop {

0 commit comments

Comments
 (0)