mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-30 23:46:28 +00:00 
			
		
		
		
	send the analytics only once every hours
This commit is contained in:
		| @@ -224,7 +224,7 @@ mod segment { | ||||
|                         } | ||||
|                         let _ = batcher.flush().await; | ||||
|                     } | ||||
|                     tokio::time::sleep(Duration::from_secs(60 * 2)).await; // 2 minutes | ||||
|                     tokio::time::sleep(Duration::from_secs(60 * 60)).await; // one hour | ||||
|                 } | ||||
|             }); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user