Our Personal Data Server from scratch! tranquil.farm
oauth atproto pds rust postgresql objectstorage fun

fix: removed some bs

+6 -6
-2
.cargo/config.toml
··· 1 - [target.x86_64-unknown-linux-gnu] 2 - rustflags = ["-C", "link-arg=-fuse-ld=mold"]
···
+1 -1
Cargo.toml
··· 113 wiremock = "0.6" 114 115 [profile.release] 116 - lto = "thin" 117 strip = true 118 codegen-units = 1
··· 113 wiremock = "0.6" 114 115 [profile.release] 116 + lto = "fat" 117 strip = true 118 codegen-units = 1
+5 -3
crates/tranquil-ripple/src/transport.rs
··· 373 if let Err(e) = sock_ref.set_tcp_nodelay(true) { 374 tracing::warn!(error = %e, "failed to set TCP_NODELAY"); 375 } 376 - let params = socket2::TcpKeepalive::new() 377 - .with_time(Duration::from_secs(30)) 378 - .with_interval(Duration::from_secs(10)); 379 if let Err(e) = sock_ref.set_tcp_keepalive(&params) { 380 tracing::warn!(error = %e, "failed to set TCP keepalive"); 381 }
··· 373 if let Err(e) = sock_ref.set_tcp_nodelay(true) { 374 tracing::warn!(error = %e, "failed to set TCP_NODELAY"); 375 } 376 + let keepalive = socket2::TcpKeepalive::new() 377 + .with_time(Duration::from_secs(30)); 378 + #[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))] 379 + let keepalive = keepalive.with_interval(Duration::from_secs(10)); 380 + let params = keepalive; 381 if let Err(e) = sock_ref.set_tcp_keepalive(&params) { 382 tracing::warn!(error = %e, "failed to set TCP keepalive"); 383 }