- Run initial sync in background so daemon becomes responsive immediately - Skip daemon-running check for forked child process (BD_DAEMON_FOREGROUND=1) - Fix PID file conflict between acquireDaemonLock and runDaemonLoop - Daemon now starts reliably even with slow/failing git pulls Fixes issue where daemon would timeout during auto-start because it was blocked on git pull in the initial sync cycle. Now the RPC server starts immediately and sync runs asynchronously. Amp-Thread-ID: https://ampcode.com/threads/T-57f3c00a-02b4-4878-adba-c7d1649759b4 Co-authored-by: Amp <amp@ampcode.com>
29 KiB
29 KiB