Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions diff.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/src/sidecar/main.py b/src/sidecar/main.py
index 161deba..9c8a676 100644
--- a/src/sidecar/main.py
+++ b/src/sidecar/main.py
@@ -63,11 +63,6 @@ def run_sync_cycle():

current_cycle_files = set()

- # Prune uploaded_files set to only include files that currently exist
- # This prevents the set from growing indefinitely.
- existing_files = {str(p) for p in root.glob("**/*.m4s")}
- uploaded_files.intersection_update(existing_files)
-
# Use ThreadPoolExecutor to parallelize uploads
with ThreadPoolExecutor(max_workers=10) as executor:
for app_dir in root.iterdir():
5 changes: 0 additions & 5 deletions src/sidecar/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ def run_sync_cycle():

current_cycle_files = set()

# Prune uploaded_files set to only include files that currently exist
# This prevents the set from growing indefinitely.
existing_files = {str(p) for p in root.glob("**/*.m4s")}
uploaded_files.intersection_update(existing_files)

# Use ThreadPoolExecutor to parallelize uploads
with ThreadPoolExecutor(max_workers=10) as executor:
for app_dir in root.iterdir():
Expand Down