summaryrefslogtreecommitdiff
path: root/Omni
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2025-11-20 22:37:23 -0500
committerBen Sima <ben@bsima.me>2025-11-20 22:37:23 -0500
commit6c84f9fe5d65b37127ccc08b81f46b1773c59500 (patch)
tree26d7942427944ad7381cbfcddd05d106e94b5b95 /Omni
parent2be878900bdec1b1273c90b07d7352914d8911c5 (diff)
fix(worker): sleep when skipping already-completed tasks
Diffstat (limited to 'Omni')
-rwxr-xr-xOmni/Agent/start-worker.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/Omni/Agent/start-worker.sh b/Omni/Agent/start-worker.sh
index d576870..ad519a0 100755
--- a/Omni/Agent/start-worker.sh
+++ b/Omni/Agent/start-worker.sh
@@ -95,6 +95,7 @@ while true; do
# We can't easily use 'task update' because it updates timestamp.
# Instead, we just rely on the loop continuing and hopefully 'task import' eventually winning
# if we stop touching it. Or we could force import again.
+ sleep 60
continue
fi