mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-30 23:46:28 +00:00 
			
		
		
		
	Wait 10 seconds in case of irrecoverable error
This commit is contained in:
		| @@ -398,9 +398,9 @@ impl IndexScheduler { | ||||
|                         Ok(Ok(TickOutcome::StopProcessingForever)) => break, | ||||
|                         Ok(Err(e)) => { | ||||
|                             tracing::error!("{e}"); | ||||
|                             // Wait one second when an irrecoverable error occurs. | ||||
|                             // Wait when an irrecoverable error occurs. | ||||
|                             if !e.is_recoverable() { | ||||
|                                 std::thread::sleep(Duration::from_secs(1)); | ||||
|                                 std::thread::sleep(Duration::from_secs(10)); | ||||
|                             } | ||||
|                         } | ||||
|                         Err(_panic) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user