refactor(docker): optimize Docker build process and update configurations
- Replace direct Rust build with cargo-chef multi-stage build pattern - Switch base image from debian:bookworm-slim to ubuntu:26.04 - Add .codegraph to .dockerignore and data to .gitignore - Introduce Dockerfile.fast for faster builds without optimization - Add comprehensive .env configuration file with cluster settings - Create docker-compose.yaml for multi-node cluster setup - Add cluster routing test case for distributed operations - Remove unnecessary success status checks in repository maintenance - Fix error handling in git command executions by properly propagating errors - Add repository move protection to prevent self-destruct operations - Simplify conditional logic in actor message validation - Update remote pack client calls with proper error handling parameters
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ impl pack_service_server::PackService for GitksService {
|
||||
Ok(gb) => gb,
|
||||
Err(err) if err.code() == tonic::Code::NotFound => {
|
||||
if let Some(mut client) =
|
||||
remote_pack_client(self, first.repository.as_ref(), false).await?
|
||||
remote_pack_client(self, first.repository.as_ref(), true).await?
|
||||
{
|
||||
m.record("ok");
|
||||
let (tx, rx) = tokio::sync::mpsc::channel(16);
|
||||
|
||||
Reference in New Issue
Block a user