From ca3d6f3f9401c1ab3e1017827bfac315b09db3cf Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Fri, 12 Dec 2025 12:34:03 -0500 Subject: Break ssync into multiple processes Breaking ssync into 3 sub-processes: 1) ssync-index - indexes remote and local dirs 2) ssync-queue - generates queue of yet-fetched files 3) ssync-fetch - downloads the queue Which will ultimately be executed using ssync which will allow for unified config files and transfer locking. The rewrite is being done in hopes of preventing "missing files" during large queues and ensure completeness. The breakdown into multiple files should also help with narrowing the logic and improving the process without interfering with the execution and readability of the other stages. This commit has complete subprocesses - though ssync-index needs remediation to remove the config file - as we need predictable I/O to be able to pass the index files into the queue process --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 700b956..44727af 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ creds ssync-cron +ssync.conf -- cgit v1.2.3-54-g00ecf